It is currently March 28th, 2024, 3:10 pm

Date & Time Widget

Get help with installing and using Rainmeter.
Post Reply
criton01
Posts: 4
Joined: March 22nd, 2017, 3:54 pm

Date & Time Widget

Post by criton01 »

Hello,

I am looking for a widget with Time only, no date necessary. Is it possible to edit the Date & Time widget to remove the date and also to shrink the overall width down so that it is only as wide as the Time displayed?
Thank you.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Date & Time Widget

Post by jsmorley »

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[MeasureTime]
Measure=Time
Format=%#I:%M %p
; 24-hour time
;Format=%#H:%M

[MeterTime]
Meter=String
MeasureName=MeasureTime
FontSize=20
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
1.jpg
https://docs.rainmeter.net/manual/measures/time/
criton01
Posts: 4
Joined: March 22nd, 2017, 3:54 pm

Re: Date & Time Widget

Post by criton01 »

This is fantastic but are you able to add the seconds as well?
criton01
Posts: 4
Joined: March 22nd, 2017, 3:54 pm

Re: Date & Time Widget

Post by criton01 »

and can it be a 12 hr format?

Thank you!
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Date & Time Widget

Post by jsmorley »

criton01 wrote:This is fantastic but are you able to add the seconds as well?

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[MeasureTime]
Measure=Time
Format=%#I:%M:%S %p
; 24-hour time
;Format=%#H:%M:%S

[MeterTime]
Meter=String
MeasureName=MeasureTime
FontSize=20
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
https://docs.rainmeter.net/manual/measures/time/
criton01
Posts: 4
Joined: March 22nd, 2017, 3:54 pm

Re: Date & Time Widget

Post by criton01 »

Perfect!

Thank you for taking the time to do this.
Post Reply