I want to get unix time in my program, google just brought up how to get time on a unix system (I'm on a dos/windows system). Is there an easy (can fit in less than 20 lines of non-system dependent functions and without any API or WIN32 [unless simple] functions) way to do this?
I am very aware about the January 19 2038 problem.
I have seen time_t but don't know how to use it at all (or for this).
Edited by Zssffssz: n/a