It is currently April 25th, 2024, 11:16 am
Get Day in Year (Out of 365 Days)
-
- Posts: 5
- Joined: December 6th, 2009, 8:14 pm
Get Day in Year (Out of 365 Days)
I'm looking for a way to figure out what day it is in the year out of the 365 / 366 (in a leap year) possible days. I'm guessing there's an easy way to do this, and I'm just blind, but could someone explain it?
-
- Rainmeter Sage
- Posts: 642
- Joined: July 19th, 2009, 5:59 am
- Location: Montreal, QC, Canada
Re: Get Day in Year (Out of 365 Days)
If you're looking for the current day, the time measure can do it:
There's a complete list of the time codes here.
Code: Select all
[DayOfTheYear]
Measure=Time
Format=%j
-
- Posts: 5
- Joined: December 6th, 2009, 8:14 pm
Re: Get Day in Year (Out of 365 Days)
Exactly what I was looking for, thanks for the help!