Category : OS/2 Files
Archive   : EMXLIB8F.ZIP
Filename : P2T.C
#include
#include
#include
#include "syscalls.h"
long _sys_p2t (FTIME t, FDATE d)
{
struct tm tm;
tm.tm_sec = t.twosecs * 2;
tm.tm_min = t.minutes;
tm.tm_hour = t.hours;
tm.tm_mday = d.day;
tm.tm_mon = d.month - 1;
tm.tm_year = d.year + 1980 - 1900;
return (_mktime (&tm));
}
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/