Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT DBF
sql function to convert posix timestamp to date
Mark DIamond
2006-08-16 13:36:08
Hi,

I have some text data that contains posix timestamps (long integer representing # seconds since 1970). I looked through the date functions and didn't see one that could take a posix timestamp. Can you recommend how I could convert it into a sql date/timestamp?

Thanks,
Mark
Re:sql function to convert posix timestamp to date
HXTT Support
2006-08-16 15:49:55
Paste or email us a data line, which contains posix timestamps :)
Re:Re:sql function to convert posix timestamp to date
Mark
2006-08-17 11:56:08
Timestamp
--------------
1110018000
Re:Re:Re:sql function to convert posix timestamp to date
HXTT Support
2006-08-17 20:59:19
The latest package supports POSIXTOT and TTOPOSIX for POSIX timestamp conversion. For instance, select POSIXTOT(timestamp) as ts from youTable.

Re:Re:Re:Re:sql function to convert posix timestamp to date
Mark
2006-08-17 23:19:55
thank you for your response. I will try it.

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap