• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Minutes From Last Midnight and To Next Midnight

I thought this was rather interesting ...

Min_F_T
A1: Variable Set [ Name:%times To:%TIMES Recurse Variables:Off Do Maths:Off Append:Off ]
A2: Variable Convert [ Name:%times Function:Seconds to Date Time Store Result In: ]
A3: Variable Split [ Name:%times Splitter: Delete Base:Off ]
A4: Variable Convert [ Name:%times1 Function:Date Time to Seconds Store Result In: ]
A5: Variable Set [ Name:%times1 To:%times1+(24*60*60) Recurse Variables:Off Do Maths:On Append:Off ]
A6: Variable Set [ Name:%min_t To:round((%times1-%TIMES)/60) Recurse Variables:Off Do Maths:On Append:Off ]
A7: Variable Set [ Name:%min_f To:1440-%min_t Recurse Variables:Off Do Maths:On Append:Off ]
A8: Flash [ Text:F = %min_f
T = %min_t Long:On ]

... Thom
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones