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 5, 2013 2:36 AM


SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: 2 days ago @ 5:07 AM
Points: 609, Visits: 1,135
Hi

Please explain the Difference between Now() and Today() functions in SSRS reports. Are they both same or different..??
Post #1519921
Posted Thursday, December 5, 2013 2:47 AM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Yesterday @ 7:27 AM
Points: 781, Visits: 1,390
=Today() 'returns date only
=Now() 'returns date and current timestamp
Post #1519924
Posted Thursday, December 5, 2013 8:44 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 11:17 PM
Points: 6,490, Visits: 13,968
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 6, 2013 4:10 AM


SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: 2 days ago @ 5:07 AM
Points: 609, Visits: 1,135
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 6, 2013 4:18 AM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Yesterday @ 7:27 AM
Points: 781, Visits: 1,390
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