csteinhilber
Programmer
I have a legacy recordset that I'm trying to UNION with a newer recordset.
The legacy recordset has a time-based field with values such as "1899-12-30 13:30:00.0" (ie - ignore the date portion, pay attention to the time, 24-hour based).
Right or wrong, the newer recordset (upon which all the display layer code is based), stores it's times as strings such as "1:30PM" (12-hour based)... acceptable, since there will be no manipulation, just display.
Is there a simple way to convert the datetime "1899-12-30 13:30:00.0" to the varchar "1:30PM" so that I might UNION these two resultsets together?
Thanks in advance,
-Carl
The legacy recordset has a time-based field with values such as "1899-12-30 13:30:00.0" (ie - ignore the date portion, pay attention to the time, 24-hour based).
Right or wrong, the newer recordset (upon which all the display layer code is based), stores it's times as strings such as "1:30PM" (12-hour based)... acceptable, since there will be no manipulation, just display.
Is there a simple way to convert the datetime "1899-12-30 13:30:00.0" to the varchar "1:30PM" so that I might UNION these two resultsets together?
Thanks in advance,
-Carl