• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 197
  • Last Modified:

US and International date formate for evaluation version

Hello Experts,

Our company has a software package that has a 45 day evalution version. Part of the evaluation check is the install date and current date. Everything worked fine in the US but we recently started marketing internationally and with the date format difference for international dates, we have run into problems. Since 'everyone' is doing it I have to think that we have missed the mark on our approach. Any suggestions would be helpful.

Thanks,

Geoff
0
geoffdavis
Asked:
geoffdavis
  • 3
  • 3
1 Solution
 
hesCommented:
How are you doing your compare of the install date vs current.
Are you storing the install date as US format or using the regional settings to store it.
0
 
geoffdavisAuthor Commented:
We store the date in the format "mm/dd/yyyy" and then pass it to the Cdate function which turns it into a Date datatype.
0
 
cookreCommented:
Note that Cdate is locale sensitive - 04/01/2006 is 1 APR in the US, but 4 JAN in other countries.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
geoffdavisAuthor Commented:
And that would be the question. Does a function exist that identifies which locale is current and therefore which format to read/process?
0
 
cookreCommented:
0
 
geoffdavisAuthor Commented:
Right on. I'll check these out tomorrow and get back to you. Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now