Hello. I think I have a little unique and difficult to solve problem that I really need to post here.
I, as a counter-strike portal administrator, am running some CS servers. With automatical script, the server uploads demos (videos of gameplay) on FTP in this format: 101229154428.dem and so on. The number is a date in this format: year, month, day, hours, minutes, seconds => for the example it's 29th December 2010, 15h, 44m and 28s.
Then I have a "report" page. The important part on it is that, there is a date in unix timestamp in each row like 1336837680 (29th december 2010, 15h, 47m, 00s). And now what I need:
Find a demo that corresponds to the unix timestamp. If there is a timestamp 1336837680, it should find 101229154428.dem.
You know what I mean, there is not one demofile, there are plenty. Just find the demo, that contains a record of the time used in timestamp.
Pretty difficult, isn't it? I would love to see if anybody came up with anything.
Best regards!