It is currently March 29th, 2024, 7:48 am

[REQUEST] Adding time zone.

Get help with creating, editing & fixing problems with skins
bryanskiitot
Posts: 2
Joined: March 16th, 2017, 4:44 am

[REQUEST] Adding time zone.

Post by bryanskiitot »

Hi I've been searching the forums for this and couldn't find one.
It's a similar to the Rainmeter time but I want to add another time below it and this time is from other country like Korea or America.

Thank you.
User avatar
sephirotess
Posts: 332
Joined: December 8th, 2016, 6:45 am

Re: [REQUEST] Adding time zone.

Post by sephirotess »

Hi,

Here is a sample code for the TimeZone (Paris & NewYork). Use the Windows clock to find the time zones you want.

Code: Select all

[MPAR]
Measure=Time
Format="%H:%M"
Timezone=+1.0

Code: Select all

[MNY]
Measure=Time
Format="%H:%M"
Timezone=-5.0

For more information, look here.
bryanskiitot
Posts: 2
Joined: March 16th, 2017, 4:44 am

Re: [REQUEST] Adding time zone.

Post by bryanskiitot »

Thanks :D

Am I just going to paste this under "Edit Skin"? Sorry kinda new to this commands. :D
User avatar
sephirotess
Posts: 332
Joined: December 8th, 2016, 6:45 am

Re: [REQUEST] Adding time zone.

Post by sephirotess »

Hi,

Glad to help and you need a full code like this:

Code: Select all

[Rainmeter]
AccurateText=1
Update=1000

[Style]
FontColor=255,255,255
FontFace=Calibri
FontSize=8
StringStyle=Normal
StringEffect=Shadow
SolidColor=0,0,0,1
AntiAlias=1
StringAlign=Left
UpdateDivider=-1

[Style2]
FontColor=255,255,255
FontFace=Calibri
FontSize=8
StringStyle=Normal
StringEffect=Shadow
SolidColor=0,0,0,1
AntiAlias=1
StringAlign=Right
X=100

[MPAR]
Measure=Time
Format="%H:%M"
Timezone=+1.0

[Paris1]
Meter=STRING
MeterStyle=Style
Text=Paris:

[Paris2]
Meter=STRING
MeasureName=MPAR
MeterStyle=Style2
Text=%1

[MNY]
Measure=Time
Format="%H:%M"
Timezone=-5.0

[NY1]
Meter=STRING
MeterStyle=Style
Text=NewYork:
Y=25r

[NY2]
Meter=STRING
MeasureName=MNY
MeterStyle=Style2
Text=%1
Y=r
Look here to learn how to create skins :welcome: .