simply easy question but i dunno how to do it
i would like to assign Todays Date to a hidden field in my asp page ??
How do i do this in
dd/mm/yyyy Format ???
Printable View
simply easy question but i dunno how to do it
i would like to assign Todays Date to a hidden field in my asp page ??
How do i do this in
dd/mm/yyyy Format ???
One way where you won't have to worry about the Regional settings of the server is:
Do it yourself formatting :c)Code:<INPUT type=hidden name=txtDate id=txtDate value="<%=Right("0" & Day(Date), 2) & "/" & Right("0" & Month(Date), 2) & "/" & Year(Date)%>">