The result of datediff(ss, '01/01/1970', '12/31/2050') is a bigint so "datediff" is overflowing.
How can I get from a bigint value to its equivalent date and back again if the max a date can be in SQL is "int"???
I need to be able to store number of seconds between '01/01/1970' and '12/31/2050' in SQL but convert that value to its calendar date for display in a web page.
Any ideas would be appreciated.
Thank you!
Stay Cool Ya'll!
-- Kristin
How can I get from a bigint value to its equivalent date and back again if the max a date can be in SQL is "int"???
I need to be able to store number of seconds between '01/01/1970' and '12/31/2050' in SQL but convert that value to its calendar date for display in a web page.
Any ideas would be appreciated.
Thank you!
Stay Cool Ya'll!
-- Kristin