Link to home
Start Free TrialLog in
Avatar of geoffdavis
geoffdavis

asked on

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
Avatar of hes
hes
Flag of United States of America image

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.
Avatar of geoffdavis
geoffdavis

ASKER

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.
Note that Cdate is locale sensitive - 04/01/2006 is 1 APR in the US, but 4 JAN in other countries.
And that would be the question. Does a function exist that identifies which locale is current and therefore which format to read/process?
ASKER CERTIFIED SOLUTION
Avatar of cookre
cookre
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Right on. I'll check these out tomorrow and get back to you. Thanks.