Microsoft
Software
Hardware
Network
Question : Convert Date Format CCYYMMDD to MMDDYYYY
I am having difficulties converting the Century date to USA date display. In my Micorsoft SQL 2000 statement I am using the following in my view:
Convert(varchar, dbo.WFALREP.ALAKD8,101)
The field [ALAKD8] is used as the Job Completed Date for a work order completion. When the SQL is 'run' is does not convert the Century date (i.e. 1100616 does not display as 06/16/2010). I also have another field [ABAADT] which is a Requested Date, so I'll be using the same format for this field as well.
Thank you in advance.
Answer : Convert Date Format CCYYMMDD to MMDDYYYY
so what about
Convert(datetime, cast((dbo.WFALREP.ALAKD8 +19000000) as varchar),101)
Random Solutions
blackberry: PIM Synchronization is not enabled on this device
General question regarding Anti-Virus, anti-malware on LAN
Sharepoint custom workflow status permissions
Server 2008 NLB problem
How to Populate a ListBox Control with Values from an Access Database Table
Exchange 2007 OWA causes 2 audit failures on failed login attempt
to perform save after app deploy using jython scripts
need help with configuration for Nexus 5020 + 2148 FEX
Javascript register...
Lotus Notes 8.5