Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  HXTT Cobol v3.0
  HXTT DBF v6.0
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  HXTT XML v2.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 Ltd. of Beijing City (abbr, HXTT)

HXTT DBF
Formatting a DATE
Jan Dvorak
2006-09-19 04:24:28.0
Hello,

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

Jan
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.

Jan

Search Key   Search by Last 50 Questions




Google
 

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