FORUMS

Analysis & Opinion

Displaying the last few days

30 posts
Thanks Meter: 64
 
By kpontkadar, Member on 28th May 2014, 02:56 PM
Post Reply Subscribe to Thread Email Thread
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, 04:42 PM |#2  
Senior Member
Bornheim
Thanks Meter: 79
 
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, 06:38 PM |#3  
OP Member
Thanks Meter: 64
 
More
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, 08:37 PM |#4  
Senior Member
Bornheim
Thanks Meter: 79
 
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 08:39 PM.
The Following 2 Users Say Thank You to CopKiller76 For This Useful Post: [ View ]
29th May 2014, 07:44 AM |#5  
OP Member
Thanks Meter: 64
 
More
Quote:
Originally Posted by CopKiller76

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

Thanks again, working perfect.
29th May 2014, 07:57 AM |#6  
Senior Member
Bornheim
Thanks Meter: 79
 
More
Np

Gesendet von meinem GT-I9505 mit Tapatalk
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes