Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  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 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