Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have a variable with hard coded but I want to be dynamic how can set this with the same format
Current Variable:
vToday==num(Timestamp#('08/31/2017 05:00:00','MM/DD/YYYY hh:mm:ss'))
so I need that date should dynamic
Like this??
vToday=num(Timestamp(Today(),'MM/DD/YYYY hh:mm:ss'))
Try this
=Num(Timestamp(Today(),'MM/DD/YYYY hh:mm:ss'))
Use NOW() in place of Today()
Let vToday =Num(Timestamp(Nowy(),'MM/DD/YYYY hh:mm:ss'));
not working
Sorry it is NOW()
Let vToday =Num(Timestamp(Now(),'MM/DD/YYYY hh:mm:ss'));
tried that still not working
Please share some sample file and expected output.
Ok try this with Floor or not required in the Num format than use timestamp
Let vToday = Floor(Timestamp(Now(),'MM/DD/YYYY hh:mm:ss'));
Let vToday1 = Timestamp(Now(),'MM/DD/YYYY hh:mm:ss');
See Attached