How about this way
since, System Time is in format
Did you read this topic well?
I want to calculate number of day user registered,
Isn't it counted from now not from the past?
@rnareshu
I got your concern, but it is just a follow up to the error[ What clock.duration needed and what your code were providing]. You can replace the System time block with you favorite variable.
as you are storing it in millis second then i think you should try the block provided by @RamNaresh instead makeinstant
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.