The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 date() accepts only one date format
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

klaus.joehnk

Germany
3 Posts

Posted - 04/20/2005 :  10:31:18 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version 7.0 SR4:
Win XP SR2

Hello,
on my office PC (and only there) a LabTalk call to date() only succeeds to give correct Julian dates when called with the MM/DD/YYYY format.
If using a custom time format (defined as dd'.'MM'.'yyyy in the Tools->Options-Miscellaneous menue) in the call to
date(DD.MM.YYYY)
then interpretes that string as months=DD and days=MM, i.e. like the MM/DD/YYYY format with '.' as delimiter.
All other date formats fail.

Question:
1) Why this wrong interpretation, although this format is defined?
2) How to circumvene that when I have to handle DD.MM.YYYY dates?
3) why does Origin not comply with/implement international standards?
i.e. ISO 8601 date format YYYY-MM-DD

Klaus
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000