Hey JS, it's me again lol
Is there a way to convert UTC timestamps to local timestamps and display them formatted using rainmeter or lua?
for example : 13375583729 This is just now at UTC time: 08/11/2024 23:55:29, and somehow using the timestamp option on the time measure to convert it to local time? To be clear, I'm feeding the timestamp to a time measure:
obviously I'd use a variable\measure instead of entering the timestamp directly. That will display only the UTC time: 08/11/2024 - 23:55:29 (local) (it's still UTC).The timezone option won't do anything to it.
The goal is to somehow let rainmeter search what the user's time zone is and format a utc timestamp to their correct time zone.
Is there a way to convert UTC timestamps to local timestamps and display them formatted using rainmeter or lua?
for example : 13375583729 This is just now at UTC time: 08/11/2024 23:55:29, and somehow using the timestamp option on the time measure to convert it to local time? To be clear, I'm feeding the timestamp to a time measure:
Code:
[LocalTime]Measure=TimeTimestamp=13375583729Format=%d/%m/%Y - %H:%M:%S (local)DynamicVariables=1
The goal is to somehow let rainmeter search what the user's time zone is and format a utc timestamp to their correct time zone.
Statistics: Posted by RicardoTM — Today, 12:05 am