 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
sanjeev
Joined: 23 Nov 2007
Posts: 31
|
| Posted: Fri Jun 06, 2008 12:27 am display all dates within months |
|
|
My need to display all dates of 1 or 2 months previous from crrent dates
means if current date is 01-06-2008 then all date between 01-05-2008 to 01-06-2008. How can i do it. |
|
|
sanjeev
Joined: 23 Nov 2007
Posts: 31
|
| Posted: Fri Jun 06, 2008 7:42 pm |
|
|
i done it with this code
Code: <%For dt = DateAdd("m",-1,Date()) To Date()
Response.Write dt & "<br/>" & vbNewLine
Next
%> |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|