Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Format

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How can i display system date in a text box in dd-Mon-yyyy Format.
 
well have a text box in the html page with the value as
a = formatdatetime(now,0)
input type=&quot;text&quot; value=&quot;<%=a%>&quot;

where 0 to 4 are different formats where you get different date and time formats

if non of them suit ur needs then u will have to thakke the time convert them manually to the format that you want and then put it in the value of the textbox

regards ::) Unicorn11
abhishek@tripmedia.com

[red]Life is a stream who's source is hidden[red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top