|
-
Jun 7th, 2006, 09:57 AM
#1
Thread Starter
Fanatic Member
number of days after 1900
Hi
I have an SQL table that contains a field "Date" of type char,I've heard that there is a function that calculates the number of Days after the year 1900,
For example if I have the date 25/05/2006 and 06/06/2006 because Date is of char type,so it considered 25/05/2006 greater then 06/06/2006 what i want is to find the total number of days between 1900 and 25/05/2006 and the total number of days between 1900 and 06/06/2006 that way I can query my table correctly?
Can anyone tell me what's this function?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|