B
Brian
I have seen many request to go from unix to GM time, but I have not
seen the reverse. Anyone know what the formula would be to convert a
US standard date format to unix time. The variable is something like
08282003 for August 28th 2003. I was thinking that I take each set of
numbers and multiply them by the number of seconds in that set. for
example
Each day = 86400 seconds - so for the above example, 2419200 seconds
in 28 days.
Each month... well - thats the mystery.
Each year 31536000 seconds. But I think I am doing this wrong. Plus,
there is probably a module out there that does it for me.
Any and all help is very appreciated.
seen the reverse. Anyone know what the formula would be to convert a
US standard date format to unix time. The variable is something like
08282003 for August 28th 2003. I was thinking that I take each set of
numbers and multiply them by the number of seconds in that set. for
example
Each day = 86400 seconds - so for the above example, 2419200 seconds
in 28 days.
Each month... well - thats the mystery.
Each year 31536000 seconds. But I think I am doing this wrong. Plus,
there is probably a module out there that does it for me.
Any and all help is very appreciated.