Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,052 Members 40,290 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 2091
Posts: 1,355
Join Date: Apr 2010
Location: Probably the Zooper Forums

 
DONATE TO ME
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

Please use the forums for your Zooper related questions. I won't respond to PMs with questions that can/should be asked there. Thank you.
 
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