Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.137
  HXTT Cobol 5.0.137
  HXTT DBF 7.1.138
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel 6.1.141
  HXTT Json 1.0.109
  HXTT Paradox 7.1.137
  HXTT PDF 2.0.137
  HXTT Text(CSV) 7.1.137
  HXTT Word 1.1.137
  HXTT XML 4.0.138
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 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 © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap