Kirin: A Processor the Western World Should Look Out For

The post Kirin: A Processor the Western World Should Look Out For appeared first on … more

Generate Your Theme with J Theme Transmogrifier

more

Android 5.0.1 RUU For Verizon HTC One M8

more

TapDeck Beta: Smart Wallpaper Discovery

more
Post Reply Subscribe to Thread

Displaying the last few days

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: 77
 
139 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: 77
 
139 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: 77
 
139 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