I am trying to write a script that will interact with the database backend of our helpdesk system.Basically their will be a form that will submit the ticket in a certain format. However I am having trouble with the timestamp field in one of the tables. When the ticket is displayed it displays the date in this format:
December 13, 2007, 4:15 am
But the timestamp field of the table displays as something totally different:
From what I understand about timestamps in mysql, it should be something like this:
this obviousily converts to May 23, 1997.
I was trying to find the code that does that conversion in the helpdesk software, but their were different include scattered all over the place and no absolutely no documentation, plus a lot of the code is object-oriented code which is something I still can't seem to get the grasp of.
So I was wondering if anyone had any experience with this type of conversion and could help me out a bit.
Thanks in advance.