|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How i get Date format for "dd-MMM-yy" using asp?
Hi
I have date display in a text box and the format is dd-MMM-yy(i.e 01-JAN-2003) using asp. so,How i get Date format for "dd-MMM-yy" using asp? |
|
#2
|
|||
|
|||
|
Code:
<% Response.write Day(Date) & "-" & MonthName(Date, True) & _ "-" & Year(Date)%> When you use MonthName and set the abbreviation argument to True, you will receive the name of the month in three characters
__________________
- Rogier Doekes |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > How i get Date format for "dd-MMM-yy" using asp? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|