unix timestamp convertion

April 10, 2009 at 08:09:51
Specs: Windows XP
Hello,

Ive got a txt file that has a few lines of text but in each line there is a unix timestamp.

i already have a .vbs script that will find and replace text, but i need to find and replace those unix timestamps into normal day and time.

is there a way to do this? im using windows XP and would like a .vbs or .bat file


thanks!


See More: unix timestamp convertion

Report •


#1
April 10, 2009 at 17:47:46
check the vbscript manual. (google for script56.chm ). Inside, there are date functions you can use.

Unix Win32 tools | Gawk for Windows


Report •

#2
April 10, 2009 at 23:53:19
It might help to post the existing timestamp and to say what you consider normal.


=====================================
If at first you don't succeed, you're about average.

M2


Report •

#3
April 12, 2009 at 06:55:55
------------------------------------------------------------------------
Reply:

check the vbscript manual. (google for script56.chm ). Inside, there are date functions you can use.

Unix Win32 tools | Gawk for Windows
-----------------------------------------------------------------------

hmmm ill take a look

==========================

Mechanix2Go, this is what I would need to to change to

time="1239020530"

to

time="Mon, 06 Apr 2009 12:22:10"


thanks for the replies!


Report •

Related Solutions

#4
April 15, 2009 at 20:45:33
anyone out there know the answer?

Report •


Ask Question