timestamp_t as string or similar

Amit Chaudhuri amit.k.chaudhuri at gmail.com
Tue Apr 16 14:18:15 PDT 2013


Hi all,

I see that timestamp_t is an integer type and that time.c defines helpers
to switch into struct tm etc.  Is there anything in the current code base
which makes it easy to convert timestamp_t into a string representation?

Ultimately, I'm looking to convert to QString so char * would do.  I've not
seen any references to asctime in the code, but my current guess is I need
to use time.c to create a tm and then use asctime.  Seems a bit around the
houses - am I missing something?

A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130416/f8802729/attachment.html>


More information about the subsurface mailing list