Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
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


Say Hey Kid

Say Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey Kid

Group: General Forum Members
Last Login: Wednesday, August 10, 2016 2:49 AM
Points: 673, Visits: 1,379
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
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

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


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: 2 days ago @ 12:45 PM
Points: 8,225, Visits: 16,374
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


Say Hey Kid

Say Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey Kid

Group: General Forum Members
Last Login: Wednesday, August 10, 2016 2:49 AM
Points: 673, Visits: 1,379
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
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Yesterday @ 6:26 AM
Points: 1,335, Visits: 2,518
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