|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to getting dats using asp?
How to getting date using asp?
I want getting multiple date from between dates. that is a=25/Sep/2003 and b=27/sep/2003 i want the output is: 25/sep/2003,26/sep/2003,27/Sep/2003 |
|
#2
|
||||
|
||||
|
There are many date functions in ASP.
Date() returns the current date, in the 'short' format specified in your Regional Settings DateAdd() is handy for adding time to a given date. Most languages have similar functions. The date add function works like this: DateAdd(interval, number, date) e.g. b = "27/9/2003" x = DateAdd("d", 1, b) '-- x would then be 28/9/2003 For more info, google "dateadd ASP" |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > ASP - date function help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|