Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
i want to know which one should faster Now() or Today()
Could some one help me Why?
Thanks in Advance
Niranjan
What do you mean with 'faster'?
Please note the optional timer mode argument to both functions, avoid timer mode 1 in chart objects for performance reason:
Returns a timestamp of the current time from the system clock. The timer_mode may have the following values:
0 Time at previously finished reload (not currently ongoing reload)
1 Time at function call
2 Time when the document was opened
Default timer_mode is 1. The timer_mode = 1 should be used with caution, since it polls the operating system every second and hence could slow down the system.
Returns the current date from the system clock. The timer_mode may have the following values:
0 Date at script run
1 Date at function call
2 Date when the document was opened
Default timer_mode is 2. The timer_mode = 1 should be used with caution, since it polls the operating system every second and hence could slow down the system.
If you don't need the time then you use today(). If you need the date and the current time you use now().
Now() and today() will return different values.
Now will return the time stamp and today will return the date.
based on the timer Mode the values will differ.
Thanks,
Sampath
Hi Gysbert Thanks for your replay
What do you mean with 'faster'?
Please note the optional timer mode argument to both functions, avoid timer mode 1 in chart objects for performance reason:
Returns a timestamp of the current time from the system clock. The timer_mode may have the following values:
0 Time at previously finished reload (not currently ongoing reload)
1 Time at function call
2 Time when the document was opened
Default timer_mode is 1. The timer_mode = 1 should be used with caution, since it polls the operating system every second and hence could slow down the system.
Returns the current date from the system clock. The timer_mode may have the following values:
0 Date at script run
1 Date at function call
2 Date when the document was opened
Default timer_mode is 2. The timer_mode = 1 should be used with caution, since it polls the operating system every second and hence could slow down the system.
HI Swuehl thank you so much