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

Lua Scripting • Re: Working with date / time in Lua

$
0
0
Hey JS, what if my skin is already working and set up using windows filetime (january 1 1601) and I want to parse that timestamp to lua as a global variable? I want to call "[&TimeMeasure:timestamp]".

For example:

Code:

timeMS = SKIN:GetMeasure('Time')   timestamp = tonumber(timeMS:GetValue())
That won't work

Statistics: Posted by RicardoTM — November 3rd, 2024, 6:26 pm



Viewing all articles
Browse latest Browse all 25

Trending Articles