Hi... I really need help in figuring out how to convert a standard date/time to an epoch date/time format.
I need to send an http request using wget and one of the required parameters is a date/time in epoch format (seconds since 1/1/1970).
Anyone know how to do this?!?!
I cant find anything ANYWHERE!
I really need this done quickly if at all possible, so I really appreciate the help!
batch file convert standard date to epoch date/time??
Moderator: DosItHelp
-
- Posts: 319
- Joined: 12 May 2006 01:13
get GNU date from coreutils http://gnuwin32.sourceforge.net/packages.html
then on command line
then on command line
Code: Select all
date +%s