Browse Your Files with Ease using MK Explorer

Google has made quite an effort in perfecting the powerful and multi-faceted OS that we know as … more

How to Fix the Nexus Available Storage Bug – XDA TV

Is your Nexus device only showing half of the available storage as it should? Many … more

Don’t Forget About Birthdays with Birthday Reminder

A person’s birthday is, without a doubt,one of the most important days in his … more

Don’t Fear Flashing with I Don’t Want You!

The XDA message boards are full of various modifications, with many of these helping … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Displaying the last few days

OP kpontkadar

28th May 2014, 03:56 PM   |  #1  
OP Member
Thanks Meter: 64
 
30 posts
Join Date:Joined: Apr 2014
Hi All!

Can anybody help me, how can I display the last X day name (and the last X days of month)? For example, the day before yesterday.

I would like to make a calendar, what display one week. Display the last 3 days, today, and the future 3 days.

So today would like to display this:
MON(26) TUE(27) WED(28) THU(29) FRI(30) SAT(31)

Is it possible?

I searched with google and here in the forum, but have not found the answer.

Thanks a lot.
28th May 2014, 05:42 PM   |  #2  
Senior Member
Bornheim
Thanks Meter: 68
 
131 posts
Join Date:Joined: Jan 2014
More
#D-1440dd# for yesterday. 1440 for a hole day in minutes.

Gesendet von meinem GT-I9505 mit Tapatalk
The Following User Says Thank You to CopKiller76 For This Useful Post: [ View ]
28th May 2014, 07:38 PM   |  #3  
OP Member
Thanks Meter: 64
 
30 posts
Join Date:Joined: Apr 2014
Quote:
Originally Posted by CopKiller76

#D-1440dd# for yesterday. 1440 for a hole day in minutes.

Easier than I thought. A big thank you.

And the day name of the week? I try to #D-1440DEEEE# but it's not working. Display the day name, but put in the day in year number before.
28th May 2014, 09:37 PM   |  #4  
Senior Member
Bornheim
Thanks Meter: 68
 
131 posts
Join Date:Joined: Jan 2014
More
If you want it like your example then use
Code:
 #D-1440E#(#D-1440dd#)
Gesendet von meinem GT-I9505 mit Tapatalk
Last edited by CopKiller76; 28th May 2014 at 09:39 PM.
The Following 2 Users Say Thank You to CopKiller76 For This Useful Post: [ View ]
29th May 2014, 08:44 AM   |  #5  
OP Member
Thanks Meter: 64
 
30 posts
Join Date:Joined: Apr 2014
Quote:
Originally Posted by CopKiller76

If you want it like your example then use[/code]

Thanks again, working perfect.
29th May 2014, 08:57 AM   |  #6  
Senior Member
Bornheim
Thanks Meter: 68
 
131 posts
Join Date:Joined: Jan 2014
More
Np

Gesendet von meinem GT-I9505 mit Tapatalk
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes