use gmtime_s instead of gmtime
use gmtime_s instead of gmtime

gmtime_s has security enhancements over gmtime, that is why windows
generates a warning when trying to compile using gmtime, for more
details:

docs.microsoft.com/en-us/cpp/c-runtime-library/reference/gmtime-s-gmtime32-s-gmtime64-s

acmorrow/mongo-c-driver,derickr/mongo-c-driver,mongodb/mongo-c-driver,ajdavis/mongo-c-driver,beingmeta/mongo-c-driver,remicollet/mongo-c-driver,mongodb/mongo-c-driver,remicollet/mongo-c-driver,jmikola/mongo-c-driver,derickr/mongo-c-driver,ajdavis/mongo-c-driver,beingmeta/mongo-c-driver,remicollet/mongo-c-driver,ajdavis/mongo-c-driver,jmikola/mongo-c-driver,derickr/mongo-c-driver,remicollet/mongo-c-driver,mongodb/mongo-c-driver,beingmeta/mongo-c-driver,jmikola/mongo-c-driver,acmorrow/mongo-c-driver,jmikola/mongo-c-driver,rcsanchez97/mongo-c-driver,mongodb/mongo-c-driver,beingmeta/mongo-c-driver,mongodb/mongo-c-driver,acmorrow/mongo-c-driver,rcsanchez97/mongo-c-driver,remicollet/mongo-c-driver,ajdavis/mongo-c-driver,jmikola/mongo-c-driver,beingmeta/mongo-c-driver,derickr/mongo-c-driver,acmorrow/mongo-c-driver,derickr/mongo-c-driver,beingmeta/mongo-c-driver,mongodb/mongo-c-driver,mongodb/mongo-c-driver,remicollet/mongo-c-driver,jmikola/mongo-c-driver,acmorrow/mongo-c-driver,derickr/mongo-c-driver,rcsanchez97/mongo-c-driver,ajdavis/mongo-c-driver,rcsanchez97/mongo-c-driver,beingmeta/mongo-c-driver,acmorrow/mongo-c-driver,acmorrow/mongo-c-driver,rcsanchez97/mongo-c-driver,jmikola/mongo-c-driver,ajdavis/mongo-c-driver,derickr/mongo-c-driver,rcsanchez97/mongo-c-driver,ajdavis/mongo-c-driver,rcsanchez97/mongo-c-driver,remicollet/mongo-c-driver,beingmeta/mongo-c-driver