|
|||
Date question
My question is datepart seems can't able to detect / differenticate which one is month and day. It got confuse. I have downloaded a few cool / great calendar javascript like from Tigra and it produces this date format (dd/mm/yyyy). But when I want to save it into my Mysql field (the datatype I use is date), it will get a little confuse, sometimes the mm will become dd and vice versa.
I wonder if any of you all face before the same problem. How do you fix this problem? Changed the date input format to become format like 1 May 2004 and then convert it into dd/mm/yyyy? The way I use datepart is rs("order_date") = DatePart("YYYY", strOrderDate) & "/" & Right("0" & DatePart("D", strOrderDate),2) & "/" & Right("0" & DatePart("M", strOrderDate),2) |
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| date&time in mysql | white_neck | Website Programming | 4 | 19-09-2005 05:49 PM |
| between 2 date | meiji | Website Programming | 2 | 29-04-2005 09:44 AM |
| date and time | hafizuddin | Website Programming | 7 | 01-12-2004 02:18 AM |
| Date & Time dlm website | abOOn | Website Design | 9 | 29-08-2003 06:25 PM |
| auto date | redzwan7 | Website Design | 0 | 10-07-2003 03:13 PM |
All times are GMT +8. The time now is 01:23 PM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.









Linear Mode

