S senn2912 New member Local time Yesterday, 16:40 Joined Nov 23, 2011 Messages 7 Aug 5, 2013 #1 Hi All, Can someone please help? I am struggling to change the format of 2013-07-29 11:33:03.6160000 to show dd/mm/yyyy Thanks in advance, G
Hi All, Can someone please help? I am struggling to change the format of 2013-07-29 11:33:03.6160000 to show dd/mm/yyyy Thanks in advance, G
pr2-eugin Super Moderator Local time Today, 00:40 Joined Nov 30, 2011 Messages 8,494 Aug 5, 2013 #2 How about using, DateSerial and Mid function together? You can use them in a Query as.. Code: SELECT theOldDateField, [URL="http://www.techonthenet.com/access/functions/date/dateserial.php"]DateSerial[/URL](Mid(theOldDateField, 1, 4), Mid(theOldDateField, 6, 2), Mid(theOldDateField, 9, 2)) AS newDateField FROM theTableName;
How about using, DateSerial and Mid function together? You can use them in a Query as.. Code: SELECT theOldDateField, [URL="http://www.techonthenet.com/access/functions/date/dateserial.php"]DateSerial[/URL](Mid(theOldDateField, 1, 4), Mid(theOldDateField, 6, 2), Mid(theOldDateField, 9, 2)) AS newDateField FROM theTableName;
S senn2912 New member Local time Yesterday, 16:40 Joined Nov 23, 2011 Messages 7 Aug 5, 2013 #3 It seems the reason that i am also having problems is due to the fact my date format in my table is actually TEXT...
It seems the reason that i am also having problems is due to the fact my date format in my table is actually TEXT...
pr2-eugin Super Moderator Local time Today, 00:40 Joined Nov 30, 2011 Messages 8,494 Aug 5, 2013 #4 Sorry I am did you try the above? Did it not work?
0 0nyx175 Registered User. Local time Yesterday, 16:40 Joined Aug 7, 2012 Messages 26 Aug 6, 2013 #5 Format (date, "Short Date")