Speaking of C, could you not do a multi-platform version with these?
(not sure if the declarations are exactly right, I can't quite get it working properly)
(not sure if the declarations are exactly right, I can't quite get it working properly)
Type tm Field tm_sec:Int Field tm_min:Int Field tm_hour:Int Field tm_mday:Int Field tm_mon:Int Field tm_year:Int Field tm_wday:Int Field tm_yday:Int Field tm_isdst:Int Field tm_gmtoff:Long Field tm_zone:Byte Ptr End Type Type time_t Field hour:Byte Field minute:Byte Field second:Byte Field hsecond:Byte End Type Extern "C" Function localtime:tm(time:Byte Ptr) = "localtime" Function time:time_t(time:Byte Ptr) = "time" End Extern