Question
What exactly IS Time Stamping?
Hi,
I'm building a web application in an effort to create something not only practical to use, but to also improve my programming abilities.
At the moment, I store records in a database with separate columns for Time and Date.
What I want to know is, is this a good way about doing things? I have tried to research the best way to store dates and times but can't find much on the subject for a beginner like me.
I have often seen the format:
{ts '2008-04-10 20:13:00'}
...floating around on the web - is this the proper way to maintain a time stamp?
I simply want to do things properly from the ground up so would appreciate your advice and guidence on how to handle the storage of dates and times. If you could spare a minute to explain the best practice and pitfalls of this it would be much appreciated.
Apologies if I sound really stupid!
Thanks,
Mikey.
I'm building a web application in an effort to create something not only practical to use, but to also improve my programming abilities.
At the moment, I store records in a database with separate columns for Time and Date.
What I want to know is, is this a good way about doing things? I have tried to research the best way to store dates and times but can't find much on the subject for a beginner like me.
I have often seen the format:
{ts '2008-04-10 20:13:00'}
...floating around on the web - is this the proper way to maintain a time stamp?
I simply want to do things properly from the ground up so would appreciate your advice and guidence on how to handle the storage of dates and times. If you could spare a minute to explain the best practice and pitfalls of this it would be much appreciated.
Apologies if I sound really stupid!
Thanks,
Mikey.
