![]() |
|
#1
|
|||
|
|||
time to utc timestamp conversionHow to convert time assigned with a string "1/7/2004 1:14:00 PM" to UTC format (no of seconds since 1970)which looks like 1073738469947
|
|||
|
#2
|
|||
|
|||
|
Quote:
# of seconds since 1970 is Unix timestamp, not UTC. UTC is a synonym for Greenwich Mean Time (GMT). |
|
#3
|
|||
|
|||
|
There's no easy way to do this, you've all the arithmetic to do yourself. You'll have to parse the string for the various numbers, and then do the math, taking care of leap years and such.
A guy has tried this here: www.listserv.shafik.org but no guarantees. Any good? GF |
Recent GIDBlog
Problems with the Navy (Enlisted) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Display Size and maybe download time | BobbyDouglas | MySQL / PHP Forum | 5 | 08-Nov-2003 00:18 |
| ambiguity in time field | zuzupus | MySQL / PHP Forum | 9 | 28-Jul-2003 08:40 |
| time Problem | zuzupus | MySQL / PHP Forum | 9 | 24-Jul-2003 07:02 |
| The Google update this time... | JdS | Search Engine Optimization Forum | 5 | 04-Jun-2003 15:25 |
| Sydog's DVD to Divx Conversion Guide | asanthadenz | Computer Software Forum - Windows | 1 | 14-Mar-2003 14:08 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The