Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 904

Other Uncategorized Skins • HowOldIs2025 (UTC)

$
0
0
HowOldIs2025_January 1, 2025.rmskin

1.jpg


HowOldIs2025.ini:

Code:

[Rainmeter]Update=1000DynamicWindowSize=1AccurateText=1[Metadata]Name=HowOldIs2025Author=JSMorleyInformation=Elapsed time for the year 2025!License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0Version=January 1, 2025[Variables]SecondsInAYear=31536000[MeasureLua]Measure=ScriptScriptFile=#CURRENTPATH#HowOldIs2025.lua[MeasureElapsed]Measure=UptimeSecondsValue=[MeasureLua:]Format="%4!i! days, %3!i! hours, %2!i! minutes %1!i! seconds"DynamicVariables=1[MeasurePercentage]Measure=CalcFormula=([MeasureLua:] / #SecondsInAYear#) * 100MinValue=0MaxValue=100DynamicVariables=1[MeterTitle]Meter=StringW=370X=185StringAlign=CenterFontSize=13FontWeight=700FontColor=185,250,160,255SolidColor=47,47,47,255Padding=5,5,5,5AntiAlias=1Text=How Old is 2025?[MeterElapsed]Meter=StringMeasureName=MeasureElapsedY=RW=370X=185StringAlign=CenterFontSize=13FontWeight=400FontColor=255,255,255,255SolidColor=47,47,47,255Padding=5,5,5,5AntiAlias=1[MeterBar]Meter=BarMeasureName=MeasurePercentageY=RW=375H=30BarColor=185,250,160,255SolidColor=47,47,47,255BarOrientation=Horizontal[MeterPercent]Meter=StringMeasureName=MeasurePercentageY=rX=370NumOfDecimals=1StringAlign=RightFontSize=13FontWeight=400FontColor=255,255,255,255Padding=5,5,5,5AntiAlias=1Text=%1% Elapsed
HowOldIs2025.lua:

Code:

function Update()midnightTime = os.time({year=2025, month=1, day=1, hour=0, min=0})currentTime = os.time(os.date('*t'))return currentTime - midnightTimeend

Happy New Year!!!

Statistics: Posted by jsmorley — Today, 3:26 am — Replies 12 — Views 189



Viewing all articles
Browse latest Browse all 904

Trending Articles