Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 6.0.061
  HXTT Cobol 3.0.061
  HXTT DBF 6.0.064
  HXTT Excel 5.0.064
  HXTT Paradox 6.0.061
  HXTT Text(CSV) 6.0.062
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT XML 2.0.061
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 Beijing City (abbr, HXTT)

HXTT Text(CSV)
Date format conversion
shakti
2017-08-10 04:26:58.0
trying to convert date format from dd-mon-yy into mm/dd/yyyy.
ex - input - 19-DEC-16 output should be - 12/19/16.
Please suggest
Re:Date format conversion
HXTT Support
2017-08-10 05:39:37.0
connection property: dateFormat dateFormat is used to specify a default parse sequence of date(Default: 'yyyy-MM-dd') format.
You can use 'dd-mmm-yy' to parse your input data.

If you wish to output 12/19/16, you can use
DTOS(date1 | timestamp1,pattern): returns a string according to a pattern format from a specified date or timestamp expression.

DOTOS(yourdata,'MM/DD/yy')

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 1999-2017 Heng Xing Tian Tai Lab of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap