ASP Forum
date add question
webdesign | Posted 5:48am 7. January 2008 Server Time |

if i use this on an input
1/2/2008 1:00:00 PM
i get
1/2/2008
-----------------------------
but if i use a later time
1/2/2008 10:30:00 PM
i get
1/2/2008 9:30:00 PM
-----------------------------
here is the code i am using
<%=DateAdd("h",-1,rs("time_slot"))%>
-----------------------------
is there a way to get
1/2/2008 12:00:00 AM?



Reply to Post date add question



Back to Forum Page