Now Function

Tips >>ASP Functions

WANTS TO MAKE SOFTWARE WITHOUT KNOWLEDGE OF ASP? CLICK HERE


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 .

 

 
E-mail : sales@virtualsplat.com
Phone : +91-9892413501

Whatsapp Icon +91-9967648641

Whatsapp Icon +91-9967648641