View previous topic :: View next topic
|
Author |
Message |
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
|
|
While checking validity of dates,is there any method other than checking for date,month and year separately? Are there any special functions using which we can compare a given date directly with SYSTEM date? |
|
Back to top |
|
|
vcsreddy
New User
Joined: 25 Jun 2005 Posts: 5
|
|
|
|
comparision on what.can u give me brief explanation of u r query |
|
Back to top |
|
|
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
|
|
Hi
How to compare system date with the date supplied by the user. Is there any special functions to achieve it. |
|
Back to top |
|
|
krishnaiahc
New User
Joined: 31 Aug 2005 Posts: 21
|
|
|
|
Hai,
The system date will come in the form of "yyyy-mm-dd" and user suplied date have to convert to standard date format "yyyy-mm-dd" .
Now you compare the both dates . Let me know if any concerns.
Thank,
Krishna |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
hi,
use currentdate command to extract the system date and just compare with the user date. c that the user date should match with the system date format 'yyyy-mm-dd'
correct me if i m wrong |
|
Back to top |
|
|
|