in reply to NOW SQL portability
The definition of epoch varies from OS to OS
Instead of storing the number of seconds relative to some OS-dependent idea of epoch, you could convert it to a proper date/time (e.g. in ISO format), and store that in the DB.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: NOW SQL portability
by SilasTheMonk (Chaplain) on Dec 22, 2009 at 10:37 UTC | |
by almut (Canon) on Dec 22, 2009 at 11:05 UTC |