Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Difference between Now() and Today() Expand / Collapse
Author
Message
Posted Thursday, December 05, 2013 2:36 AM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Today @ 2:36 AM
Points: 588, Visits: 1,011
Hi

Please explain the Difference between Now() and Today() functions in SSRS reports. Are they both same or different..??
Post #1519921
Posted Thursday, December 05, 2013 2:47 AM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Today @ 7:30 AM
Points: 482, Visits: 842
=Today() 'returns date only
=Now() 'returns date and current timestamp
Post #1519924
Posted Thursday, December 05, 2013 8:44 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 1:59 PM
Points: 5,970, Visits: 12,873
Junglee_George (12/5/2013)
Hi

Please explain the Difference between Now() and Today() functions in SSRS reports. Are they both same or different..??

Note that these are not T-SQL date\time events they are visual studio events. The most common for T-SQL is GETDATE()


-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1520147
Posted Friday, December 06, 2013 4:10 AM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Today @ 2:36 AM
Points: 588, Visits: 1,011
Yes, Perry..I am looking for VS events which can be used in SSRS.
But I couldn't find the difference b/w these two events.
Post #1520502
Posted Friday, December 06, 2013 4:18 AM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Today @ 7:30 AM
Points: 482, Visits: 842
it would be easier if you tell us what is the confusion and where you think these are the same
Post #1520504
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse