It is currently April 25th, 2024, 11:16 am

Get Day in Year (Out of 365 Days)

Get help with creating, editing & fixing problems with skins
G2K
Posts: 5
Joined: December 6th, 2009, 8:14 pm

Get Day in Year (Out of 365 Days)

Post by G2K »

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?
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: Get Day in Year (Out of 365 Days)

Post by Alex2539 »

If you're looking for the current day, the time measure can do it:

Code: Select all

[DayOfTheYear]
Measure=Time
Format=%j
There's a complete list of the time codes here.
ImageImageImageImage
G2K
Posts: 5
Joined: December 6th, 2009, 8:14 pm

Re: Get Day in Year (Out of 365 Days)

Post by G2K »

Exactly what I was looking for, thanks for the help!