Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.277
  HXTT Cobol 5.0.275
  HXTT DBF 7.1.277
  HXTT Excel 6.1.279
  HXTT Json 1.0.247
  HXTT Paradox 7.1.275
  HXTT PDF 2.0.275
  HXTT Text(CSV) 7.1.275
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Word 1.1.275
  HXTT XML 4.0.276
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 Text(CSV)
Date format conversion
shakti
2017-08-10 04:26:58
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
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 © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap