hello,
I was wondering if anyone knew of an already written function/procedure in FPC to convert a ctime structure to its equivalent string date.
IOW, a routine that converts input such as:
ctime: 0 to date string: 1970/01/01 0:00:00
ctime: 5AE5947B to date string: 2018/04/29 9:46:35
ctime: 521EAE52 to date string: 2013/08/29 2:13:38
I have the C code to do the above which I can translate to FPC but, I figured maybe someone had already invented that wheel and tested it.
Thanks.