If I have @time = Time.now.strftime("%Y-%m-%d %H:%M:%S")
,
How can I reduce this time by 15 minutes ?
I already tried this one :: @reducetime = @time-15.minutes
, works fine at console but give errors while execution. Other than this Is there any way to resolve this issue.
Thanks