It is currently April 19th, 2024, 11:38 am
Current date, plus 7 days
-
- Posts: 2
- Joined: May 26th, 2018, 2:39 am
Current date, plus 7 days
I am trying to figure out how to display what the date will be 7 days in the future. For example: "In 7 days, the date will be June 1st". Could anyone point me in the right direction?
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Current date, plus 7 days
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Variables]
[MeasureNow]
Measure=Time
Format=%A, %B %#d, %Y at %H:%M:%S
[Measure7Days]
Measure=Time
Timestamp=([MeasureNow:Timestamp] + 7 * 86400)
Format=%A, %B %#d, %Y at %H:%M:%S
DynamicVariables=1
[MeterDays]
Meter=String
MeasureName=MeasureNow
MeasureName2=Measure7Days
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=Current: %1#CRLF#7 days: %2
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2
- Joined: May 26th, 2018, 2:39 am
Re: Current date, plus 7 days
This is perfect, thank you!jsmorley wrote:https://docs.rainmeter.net/manual/measures/time/#TimeStampCode: Select all
[Rainmeter] Update=1000 DynamicWindowSize=1 AccurateText=1 [Variables] [MeasureNow] Measure=Time Format=%A, %B %#d, %Y at %H:%M:%S [Measure7Days] Measure=Time Timestamp=([MeasureNow:Timestamp] + 7 * 86400) Format=%A, %B %#d, %Y at %H:%M:%S DynamicVariables=1 [MeterDays] Meter=String MeasureName=MeasureNow MeasureName2=Measure7Days FontSize=11 FontWeight=400 FontColor=255,255,255,255 SolidColor=47,47,47,255 Padding=5,5,5,5 AntiAlias=1 Text=Current: %1#CRLF#7 days: %2
1.png