Now Function

Tips >>ASP Functions


The Now function returns the current date and time according to the setting of your computer's system date and time. The Now function returns the date and time as determined by your computer. The Now function returns the date & time - assign it to the variable

The Syntax of the Now Function is :-

Now

Example#1 :-

Code :-
<%
document.write(Now)
%>
Output :-

1/15/2002 10:52:15 AM

Example#2 :-

Code :-
<%
document.write(Now)
%>
Output :-

05/18/2006 17:08:29 PM

Example#3 :-

Code :-
<%
document.write(Now)
%>
Output :-

06/22/2006 11:09:20 AM

Example#4 :-

Code :-
<%
document.write(Now)
%>
Output :-

18/05/2006 12:29:33 PM

Notice :-All the functions above haven't any parameters passed in .

 

 
News / Updates New version of cheque printing software is up. Can configure date in box. http://VirtualSplat.com/cp6.exe
E-mail : sales at virtualsplat dot com
Phone : +91 022 28067978