Search Tools Links Login

asp date format dd/mm/yyyy


I looked for a way to format the date into dd/mm/yyyy server side. not much here so here is a one liner for those who need it.
<%
strcurrentdate = day(date) & "/" & month(date) & "/" & year(date)
response.write strcurrentdate
%>

Original Author: Ken Edmonds

Code

<%
strcurrentdate = day(date) & "/" & month(date) & "/" & year(date)
response.write strcurrentdate
%>

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 78 times

Categories

ASP/ HTML

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.