Link to home
Start Free TrialLog in
Avatar of jason101799
jason101799

asked on

Converting Datetime?

Experts,

I am facing this problem with datetime conversion. Currently I have a datetime in different language ex: Thai and I wanted to read this datetime from ASP/VBSCRIPT to perform calculation. How can I read this datetime in different language?

Please advice.

Thanks.
Jason
Avatar of S_Warrior
S_Warrior

if cdate(dates) = cdate(other dates) then
 ...
end if

if ctime(dates) = ctime(dates) then
 ...
end if
Avatar of jason101799

ASKER

S Warrior,

Will the cdates and ctimes recognize datetime in Thai language?
the cdate command depends on ur locale setting .

regards
kahwoo
kahwoo,

What if the locale setting is in Thai language? How do I read the dates in English? When I display the dates it was in some kinda of funny format. Please advice.


Thanks for helping.


Cheers
Jason
ASKER CERTIFIED SOLUTION
Avatar of kahwoo
kahwoo

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
Admin notified of User neglect. Force-accepted by
Netminder
Community Support Moderator
Experts Exchange