Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
  Buy Now
  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)

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

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
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
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
I see, yes, DTOS( date, pattern ) looks like what I need. Thank you so much.


Search Key   Search by Last 50 Questions


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