Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 688

Script to edit text file to convert unix timestamp field

$
0
0
Hi :wave:

I don't have to script often (once/twice a year) and nothing complicated beyond writing a few vbscripts to edit text files to take out spaces or replace strings with new text so after searching the internet the last couple of days I think my brain is bleeding trying to figure out how to do what it is I'm trying to do..

I receive hundreds upon hundreds of text files a day from a certain customer that contains a line in each text file of

Author Time Long=1375805191 (basically a unix time stamp that is different inside each and every text file I receive)

Is there a way to have a vbscript find the the above line in all these hundreds of text files I get each day and convert that unix time stamp into a readable format like 08/06/2013 11:06:31? Any help or pointing in the right direction would be greatly appreciated.

PrincessMoFo

Viewing all articles
Browse latest Browse all 688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>