c++ - Get integer date representation (epoc time or jan1st 0001 base) from string ( Fri 4/2/2004 9:55:54 AM --------> <long representation>) -
I have the date in the string in the following format.
Venus 4/2/2004 9:55: 54 AM
I have to do a generic time utility in C ++, which parse it and give me long / intra-representation Which is either Apoc time base or 1 January 0001 time base.
In addition, it would be good if usage is quite normal, in the sense that, even if the string has a slightly different format, it should work. Actually use should represent integer multiple string format.
I want it in C ++ on Unix (Ubuntu). Someone can help.
Rgds, AJ
You can try
Comments
Post a Comment