|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
date comparison
i am now facing the date comparison problem,
i need to know whether some day is in this week or this month or not! the method i use now is like this : (visit_date is the day i want to check) visit_date >= date - weekday(now()) and visit_date < date (for week checking) for the month checking , still got no idea till now! anydody knows how? thanks! Last edited by Ravis : April 5th, 2004 at 02:21 AM. |
|
#2
|
|||
|
|||
|
Take a look at the datediff function
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > date comparison |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|