I have timestamps which are stored as seconds since epoch, (Jan 1,
1970 00:00:00 GMT) that I need to be able to work with in human
readable format. e.g. yyyy-mm-dd hh:mm:ss
I would like to have a couple of stored procedures that convert
datestrs to epoch and vice versa.
I need to code this function in C/C++. Could any one help me with this? I would truly appreciate.