Author Topic: Unix Timestamp  (Read 737 times)

0 Members and 1 Guest are viewing this topic.

Offline yexxle

  • Major(1)
  • Posts: 22
Unix Timestamp
« on: June 16, 2007, 09:27:04 pm »
Since FormatDate() doesn't contain a unix timestamp format element, is there a different function I can use to get the unix timestamp (epoch seconds)?. If not, I will probably shy away from calculating it via all the entries from FormatDate(), as it'dll be much faster and easier for me to use GetURL() to fetch it from a server-side script. Of course, I'd rather do it within Pascal if possible.

Thanks.

Date Posted: June 15, 2007, 02:04:32 PM
Since I don't think there is a way within the scripting engine, I've moved on to grabbing it externally (through a tcp server socket rather than GetURL, as I expect socket to be much faster without request/response overhead).