5,604,686 Members 37,256 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Time elapsed help

Tip us?
 
leerocklord
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 2
Join Date: Jan 2014
Question [Q] Time elapsed help

Hi everyone,

How would I show a continuous day counter?

So say I want to show how many days have passed since a certain start day until today, then of course it will add a day to the total each new day.

I'm new to Zooper so any help is welcome.

Thanks in advance

Lee
The Following User Says Thank You to leerocklord For This Useful Post: [ Click to Expand ]
 
kwerdenker
Old
#2  
kwerdenker's Avatar
Recognized Themer
Thanks Meter 1567
Posts: 1,238
Join Date: Apr 2010
Location: Probably the Zooper Forums
Quote:
Originally Posted by leerocklord View Post
Hi everyone,

How would I show a continuous day counter?

So say I want to show how many days have passed since a certain start day until today, then of course it will add a day to the total each new day.

I'm new to Zooper so any help is welcome.

Thanks in advance

Lee
This can be done via Zoopers Free Date format. Here is the general format for it:
Code:
#D<year><month><day><hours><minutes>T<formatstring>#
This works for past as well as future dates. If for example you want to count the days since last christmas, you would write the following:
Code:
#D201312240000Td#
For more information on the available format options, see the official reference page: http://zooper.themerapp.com/support/...68-date-format

Hope this helps you out
Mobile: LG Nexus 4 | ROM: Paranoid Android 4.0 + Xposed | Kernel: faux Kernel
Tablet: Asus Nexus 7 (2013) | ROM: Paranoid Android 3+ | Kernel: faux Kernel


 
leerocklord
Old
#3  
Junior Member - OP
Thanks Meter 1
Posts: 2
Join Date: Jan 2014
That's brilliant. Thanks a million
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes