Fandom

Foldit Wiki

Foldit Lua Function puzzle.GetExpirationTime

1,426pages on
this wiki
Add New Page
Comments0 Share

puzzle.GetExpirationTime Edit

Function
integer puzzle.GetExpirationTime()
Description
Get the date and time that the puzzle expires.
V1 Function Name
New to V2
More Information
Details

Remarks Edit

Example Edit

This example gives the amount of time left in the puzzle in seconds.

local timeLeft=os.difftime(puzzle.GetExpirationTime(),os.time())
print("Time left in seconds: "..timeLeft)

See Also Edit

os.time os.difftime

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.