Pulling dates from the database - 05/06/2002 2:06 PM
I'm working on some scripts and am having problems pulling B_Posted & B_Last_Post from the database. It acts as though there is nothing in the field. Here's what I'm trying to do:
This is an asp script that is to convert unix time to normal time.
It just keeps spitting back the epoch. All of the other fields are pulled without any problem, it's just B_Posted & B_Last_Post. Does anyone have any insight or suggestions? Thanks
code:
<% TestPosted = DateAdd("s", B_Posted, "01-Jan-70") %>
This is an asp script that is to convert unix time to normal time.
It just keeps spitting back the epoch. All of the other fields are pulled without any problem, it's just B_Posted & B_Last_Post. Does anyone have any insight or suggestions? Thanks