Display the Date and Time   
 

Well, guess nothing is easier than this. But it's a good way to get started! Be aware that the time is NOT the client's local time -- it's the time of the server.

The Code

Current time is <%=Time%><br>
Date is <%=Date%><br>
Tomorrow is <%=Date + 1%><br>
Today is <%=WeekdayName(Weekday(Date))%><br>
Tomorrow is <%=WeekdayName(Weekday(Date+1))%>

The Result

Current time is 11:34:54 PM
Date is 2/3/2012
Tomorrow is 2/4/2012
Today is Friday
Tomorrow is Saturday

My3C's
perrychicker
It's easy... it's a PSACAKE!
Back | Tell A Friend | Search this Site
© 1998 - 2012 psacake.com
Version 3.23

Send me One Million FREE Guaranteed Visitors