View Single Post
Old 05-04-2005, 09:44 AM  
djdeluxe76
Member
 
Join Date: Mar 2005
Posts: 43
Default TCL script that parses file and converts date to timestamp

Hello and thank you for reading this request post.

I was going to do/learn it myself but I just wind up dead .... its just
too much for the beginning.

Though I can feel for a pro this should not be much work especially
because I just need a basic script I can do the bug tracking myself
and learn something at the same time.

Basically it's just

1. open file,
2. parse (regexp) for YYYY-MM-DD HH:NN (2005-05-04 12:15)
3. and convert to unix epoch timestamp like (1114708730)

Anyone, please, with too much freetime at hands?

Much apreciated !!

Cheers
DJ

p.s.: I searched the forum with terms 'script convert timestamp' and
'convert timestamp' so i'm sorry if i've overlooked a post.
djdeluxe76 is offline   Reply With Quote