ASP Date conversion - نوشته شده در (1287 Views)
Starting Member
Fromafarr
مطلب: 7
7
Hi,
I have a simple form that has datepickers attatched to 2 textbox's. The date pickers are set to a dd/mm/yyyy format but the webserver has a m/dd/yyyy format. Because my script has to check the 1st date against the current date this causes obvious problems. Could anyone kindly tell me how to convert the webserver date to my date format. Thanks in advance.<
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Support Moderator
Shaggy
مطلب: 6780
6780
At the start of your script, you need to set the locale ID to that of the UAE, like so:

session.lcid=14337
To set it for a different country, see the decimal value next to the relevant country here.
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
نوشته شده در
Starting Member
Fromafarr
مطلب: 7
7
Thanks for that<
نوشته شده در
Support Moderator
Shaggy
مطلب: 6780
6780
You're welcome.
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
 
شما باید یک متن وارد کنید