I have code that reads below:
DAYS is referred to later in the script for display, my problem is the script is using statement to display data from a DB using " smalldatetime " in the AD_EXPIRED column.
I can't get around it displaying the date as - 1/31/1900 2:27:00 PM... what I want is in the format 3/19/2003.
I've tried going through the forum and none of the fixes seem to work...
Thanks...
Code:
rsAds.Source = "SELECT AD_ID, AD_EXPIRED - getDate() AS DAYS, FROM ADS,
DAYS is referred to later in the script for display, my problem is the script is using statement to display data from a DB using " smalldatetime " in the AD_EXPIRED column.
I can't get around it displaying the date as - 1/31/1900 2:27:00 PM... what I want is in the format 3/19/2003.
I've tried going through the forum and none of the fixes seem to work...
Thanks...