Unix timestamp fun
Posted: Tue Aug 26, 2003 12:14 am
Has anyone done any leg work on getting and manipulating UNIX-style timestamps in PB?
I ask only because I'm going to be using SQLite as a database back-end (I think) but it doesn't have any internal date or time functions and since it's typless the only option I have for storing a time value is in the UNIX way (seconds since January 1, 1970). I've looked through all the API docs I can get my hands on and haven't found any internal functions for getting or dealing with timestamps..
Any help appreciated! Thanks!
I ask only because I'm going to be using SQLite as a database back-end (I think) but it doesn't have any internal date or time functions and since it's typless the only option I have for storing a time value is in the UNIX way (seconds since January 1, 1970). I've looked through all the API docs I can get my hands on and haven't found any internal functions for getting or dealing with timestamps..
Any help appreciated! Thanks!