1 2 3 4 5 6 7 8 9
// Copyright © Tavian Barnes <tavianator@tavianator.com> // SPDX-License-Identifier: 0BSD #include <time.h> int main(void) { struct tm tm = {0}; return (int)timegm(&tm); }