Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have below expression and i want to convert it num()
Please help
date(ReloadTime() ,'YYYY-MM-DD') &' '& time(MakeTime(6,30),'hh:mm')
Thank You
try this:
=num(timestamp#(date(ReloadTime(),'DD/MMM/YYYY')&' '&Time(MakeTime(6,30),'hh:mm'),'DD/MMM/YYYY hh:mm'))
hi
use Alt() fun,
try lik dis
hope this helps you
Alt(Date#(DateField, 'd/M/yyyy'), Date#(DateField, 'M/d/yyyy'),Date#(DateField, 'd/MMM/yyyy'), ...............
)
thanks
Suresh
try this:
=num(timestamp#(date(ReloadTime(),'DD/MMM/YYYY')&' '&Time(MakeTime(6,30),'hh:mm'),'DD/MMM/YYYY hh:mm'))
floor(ReloadTime()) + MakeTime(6,30)

if i used floor(ReloadTime()) it use both date n time. but i want only the date
The reverse is true. If you use floor(), it gives you the integer part of a timestamp and that doesn't contain time but the date only. The fraction part of a timestamp is responsible for time.