| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Date help
Hey guys,
I'm making my ASP site in dreamweaver, and I have a page where an admin user can add a news story to the database. The date field for the news story table in the database is formatted like this: "15/08/2004 6:00:00 PM" I have a hidden field in the form, what value/variables should I set the hidden field to, to obtain this format of the current date/time. Any help would be greatly appreciated! Cheers, Ben |
|
#2
|
||||
|
||||
|
Ty
Code:
<input type="hidden" name="TheDate" value="<%=Date()%>"> |
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > Date help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|