Hello Eveyone,
I downloaded Zooper on Friday and have been playing with it, learning it, reading the forums about it and killing a LOT of time with it LOL! I have learned a lot, and am ploughing through making my own theme for the first time. I have found most of the answers to my questions on here except the main one I need help with:
I want GMT displayed on my home page, not just the differential that's included in #Dz#. I've tried everything I could think of for it, including using the math operators to take local time and add or subtract the value of #DZ# using if then statements but nothing is working. I'm a pilot and that would be a handy value to show on the home screen for us frequent time zone crossers.
Can anyone help me with this please? Seems easy enough but I am obviously missing something. Any help woould be appreciated.
I am a retired Navy fighter pilot, currently living and working in Jakarta, Indonesia as a pilot training captain. Look forward to seeing all of you in here and if any of you live or wander close by, be sure to hit me up!
Cheers,
Wayne "Kila" Watts
Zooper: How to display zulu time for pilots
KilaWatts, It's been awhile since you posted this, but here is your solution. I also wanted to display this on my zooper widget, and I figured it out! Even though it's posted late, I thought that it might benefit other pilots like us as well. Rob
$(#DHHmm#-#DZ#)$Z will display zulu time (eg. 1543Z)
KilaWatts said:
Hello Eveyone,
I downloaded Zooper on Friday and have been playing with it, learning it, reading the forums about it and killing a LOT of time with it LOL! I have learned a lot, and am ploughing through making my own theme for the first time. I have found most of the answers to my questions on here except the main one I need help with:
I want GMT displayed on my home page, not just the differential that's included in #Dz#. I've tried everything I could think of for it, including using the math operators to take local time and add or subtract the value of #DZ# using if then statements but nothing is working. I'm a pilot and that would be a handy value to show on the home screen for us frequent time zone crossers.
Can anyone help me with this please? Seems easy enough but I am obviously missing something. Any help woould be appreciated.
I am a retired Navy fighter pilot, currently living and working in Jakarta, Indonesia as a pilot training captain. Look forward to seeing all of you in here and if any of you live or wander close by, be sure to hit me up!
Cheers,
Wayne "Kila" Watts
Click to expand...
Click to collapse
Correction
I just realized that I was wrong, please disregard my previous post. The correct way to do it is to go to "Override Widget Locality" for the specific module. Then touch the "+" button. Type in the name of the city that you are in, and for the time zone scroll down and select "Etc/Zulu". The code that you need to enter manually is: #DHH#:#Dmm#z
KilaWatts said:
Hello Eveyone,
I downloaded Zooper on Friday and have been playing with it, learning it, reading the forums about it and killing a LOT of time with it LOL! I have learned a lot, and am ploughing through making my own theme for the first time. I have found most of the answers to my questions on here except the main one I need help with:
I want GMT displayed on my home page, not just the differential that's included in #Dz#. I've tried everything I could think of for it, including using the math operators to take local time and add or subtract the value of #DZ# using if then statements but nothing is working. I'm a pilot and that would be a handy value to show on the home screen for us frequent time zone crossers.
Can anyone help me with this please? Seems easy enough but I am obviously missing something. Any help woould be appreciated.
I am a retired Navy fighter pilot, currently living and working in Jakarta, Indonesia as a pilot training captain. Look forward to seeing all of you in here and if any of you live or wander close by, be sure to hit me up!
Cheers,
Wayne "Kila" Watts
Click to expand...
Click to collapse
Thank you!
Rob,
Thanks for both posts.....I appreciate the effort even if it's wrong mate. I understand the second way, however, that seems to just do it manually, and not automatically once I land in another time zone, like the time gets updated. Maybe I'm wrong and if I do it once, where I live now, it will update by itself when the phone comes on and I'm in a different time zone?
Thanks in advance and hope that's not a stupid question LOL! Caught me a bit off guard with an answer finally! My UI is all set up, sans this of course. I'll play with what you suggested and see and maybe you can answer my question in the meantime.....
Cheers buddy and thanks again! :fingers-crossed:
robgross said:
I just realized that I was wrong, please disregard my previous post. The correct way to do it is to go to "Override Widget Locality" for the specific module. Then touch the "+" button. Type in the name of the city that you are in, and for the time zone scroll down and select "Etc/Zulu". The code that you need to enter manually is: #DHH#:#Dmm#z
Click to expand...
Click to collapse
I wanted to display GMT that will auto correct when my time zone goes through a time change (-5 to -6). The closest I got was the following conditional. I hope this helps
$(#DH#-(#DZ#/100))$:#Dmm#
This uses your phone's local time and then factors in DZ.
Thanks!
KilaWatts said:
Rob,
Thanks for both posts.....I appreciate the effort even if it's wrong mate. I understand the second way, however, that seems to just do it manually, and not automatically once I land in another time zone, like the time gets updated. Maybe I'm wrong and if I do it once, where I live now, it will update by itself when the phone comes on and I'm in a different time zone?
Thanks in advance and hope that's not a stupid question LOL! Caught me a bit off guard with an answer finally! My UI is all set up, sans this of course. I'll play with what you suggested and see and maybe you can answer my question in the meantime.....
Cheers buddy and thanks again! :fingers-crossed:
Click to expand...
Click to collapse
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
leerocklord said:
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
Click to expand...
Click to collapse
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/solutions/articles/158068-date-format
Hope this helps you out
That's brilliant. Thanks a million
Is there ANY way to add a number (1) to the current hour? I've been trying to figure it out for hours but I'm not getting anywhere.
I've tried variations of this:
$#Dmm#>50&&#Dmm#<60?hour plus one is (#Dh#+1)$
Anyone?
dgrasley said:
Is there ANY way to add a number (1) to the current hour? I've been trying to figure it out for hours but I'm not getting anywhere.
I've tried variations of this:
$#Dmm#>50&&#Dmm#<60?hour plus one is (#Dh#+1)$
Anyone?
Click to expand...
Click to collapse
Hi;
Here I've insert a code to add Day to Date:
http://forum.xda-developers.com/showthread.php?t=2607763
Probably same syntax could work also for time ... but there is a BIG problem:
Zooper consider Date as a number then if I add 10 to 25th January I obtain 35th January!!! Then I can't use this for my purpose
I don't know if you will have the same problem also with Time.
dgrasley said:
Is there ANY way to add a number (1) to the current hour? I've been trying to figure it out for hours but I'm not getting anywhere.
I've tried variations of this:
$#Dmm#>50&&#Dmm#<60?hour plus one is (#Dh#+1)$
Anyone?
Click to expand...
Click to collapse
Try it like this
Code:
$#Dmm#>50&&#Dmm#<60?(#Dh#+1)$
and it should work. Zooper seems to have a problem if you try to mix characters/text and math. If you want to have text AND math in one text module, split them up so you have something like this
Code:
hour plus one is $#Dmm#>50&&#Dmm#<60?(#Dh#+1)$
If you need the text also to be dependent on the conditional, you'll have to use it twice:
Code:
$#Dmm#>50&&#Dmm#<60?hour plus one is $$#Dmm#>50&&#Dmm#<60?(#Dh#+1)$
Just wondering if anyone knows how to add a minute text box that will show the minutes time 15 minutes into the future. I'm a supervisor at work and when giving people their 15 minute break it would be extremely helpful to glance at my watch real fast to let them know what time to be back. Possible? Thanks
supremekizzle said:
Just wondering if anyone knows how to add a minute text box that will show the minutes time 15 minutes into the future. I'm a supervisor at work and when giving people their 15 minute break it would be extremely helpful to glance at my watch real fast to let them know what time to be back. Possible? Thanks
Click to expand...
Click to collapse
Just a rough idea obviously but you can just add a minute text box and add +15 to the end of the time formula and it will work
Sent from my XT1096 using XDA Free mobile app
That's awesome, thank you. I was trying to put +15 inside the {}. No wonder it wasn't working. Thanks coming your way.
supremekizzle said:
That's awesome, thank you. I was trying to put +15 inside the {}. No wonder it wasn't working. Thanks coming your way.
Click to expand...
Click to collapse
Actually that doesn't appear to work when its less than 15 till the top of the hour . right now at 53 it shows 68 ... This may take some more thinking lol
Sent from my XT1096 using XDA Free mobile app
Seems like you should be able to add some if statements in their something like if >45 subtract 45. But I'm not really sure of the syntax needed, I do know some apps like facer and watchmaker link to sites with the language source information which may help.
But an if statement is the most logical way to get around the 45 minute issue.
Please help! I am trying to understand math in zooper. I have a long equation that I want to use but I can't figure out why it is showing as numbers but will not perform the math... Do I need more $$ or parentheses?
This is the equation : (this is only the beginning to figure out julian date with time and accounting for dst)
[as]#D199912312400Td#+((12-(#DZ#/100)+$((#DH#-(-7))-(#DH#-(#DZ#/100)))>1?0:1$)/24)[/as]
This is my result :
[as]6356+((12-(-0500/100)+0)/24)[as]
How do I get the math to calculate??
Thank you!
Marieflower said:
Please help! I am trying to understand math in zooper. I have a long equation that I want to use but I can't figure out why it is showing as numbers but will not perform the math... Do I need more $$ or parentheses?
This is the equation : (this is only the beginning to figure out julian date with time and accounting for dst)
[as]#D199912312400Td#+((12-(#DZ#/100)+$((#DH#-(-7))-(#DH#-(#DZ#/100)))>1?0:1$)/24)[/as]
This is my result :
[as]6356+((12-(-0500/100)+0)/24)[as]
How do I get the math to calculate??
Thank you!
Click to expand...
Click to collapse
Put the whole equation between $( )$ just like that
[as]$(6356+((12-(-0500/100)+0)/24))$[/as]
Click to expand...
Click to collapse
in your case