Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  Buy Now
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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 Ltd. of Beijing City (abbr, HXTT)

Formatting a DATE
Jan Dvorak
2006-09-19 04:24:28.0

I just can't find a way to format a DATE column using the format 'yyyy-MM-dd'. How do I do it hxttDBF?

Re:Formatting a DATE
HXTT Support
2006-09-19 04:39:26.0
CDATE(expression,pattern): returns a Date value according a pattern from an expression. For instance, CDATE('21111947','ddMMyyyy').

If you need such function, we can provide DTOC(date1 | timestamp1,pattern): returns a string from a date or timestamp expression.

What's your suggestion?
Re:Re:Formatting a DATE
HXTT Support
2006-09-19 05:43:49.0
v3.0.020 provides DTOS(date1 | timestamp1,pattern) for date conversion.

For instance, ?dtos(now(),'yyyy-MM-dd');
Re:Re:Re:Formatting a DATE
Jan Dvorak
2006-09-19 09:29:59.0
I see, yes, DTOS( date, pattern ) looks like what I need. Thank you so much.


Search Key   Search by Last 50 Questions


Copyright © 1999-2017 Heng Xing Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap