global os
methods
os.resultof
😱 Types incomplete or incorrect? 🙏 Please contribute!
os.launch
Reference:
- Corresponding Lua source code: lualibs-os.lua#L246-L251
😱 Types incomplete or incorrect? 🙏 Please contribute!
os.runtime
Reference:
- Corresponding Lua source code: lualibs-os.lua#L262-L264
😱 Types incomplete or incorrect? 🙏 Please contribute!
os.timezone
Reference:
- Corresponding Lua source code: lualibs-os.lua#L453-L469
😱 Types incomplete or incorrect? 🙏 Please contribute!
os.uuid
Reference:
- Corresponding Lua source code: lualibs-os.lua#L423-L431
os.pipeto
Reference:
- Corresponding Lua source code: lualibs-os.lua#L236-L238
😱 Types incomplete or incorrect? 🙏 Please contribute!
os.fulltime
Reference:
- Corresponding Lua source code: lualibs-os.lua#L478-L492
😱 Types incomplete or incorrect? 🙏 Please contribute!
os.localtime
Reference:
- Corresponding Lua source code: lualibs-os.lua#L500-L514
😱 Types incomplete or incorrect? 🙏 Please contribute!
os.converttime
Reference:
- Corresponding Lua source code: lualibs-os.lua#L516-L523
😱 Types incomplete or incorrect? 🙏 Please contribute!
os.today
Reference:
- Corresponding Lua source code: lualibs-os.lua#L527-L529
os.now
@return - for example 2021-10-22 08:22:54
.
😱 Types incomplete or incorrect? 🙏 Please contribute!
Return the UTC time without timezone, for example 2021-10-22 08:22:54
.
Reference:
- Corresponding Lua source code: lualibs-os.lua#L533-L535
os.which
Example:
print(os.which("inkscape.exe"))
print(os.which("inkscape"))
print(os.which("gs.exe"))
print(os.which("ps2pdf"))
Reference:
- Corresponding Lua source code: lualibs-os.lua#L543-L564
@see os.where
os.where
Example:
print(os.where("inkscape.exe"))
print(os.where("inkscape"))
print(os.where("gs.exe"))
print(os.where("ps2pdf"))
Reference:
- Corresponding Lua source code: lualibs-os.lua#L543-L564
@see os.which
os.isleapyear
Reference:
- Corresponding Lua source code: lualibs-os.lua#L595-L599
os.nofdays
@return number_of_days
- Calculates the number of days of a month if the parameter day
is missing. Calculates the number of days of the year if the parameters month
and day
are missing.
😱 Types incomplete or incorrect? 🙏 Please contribute!
Calculate the number of days.
Reference:
- Corresponding Lua source code: lualibs-os.lua#L619-L633
os.weekday
Reference:
- Corresponding Lua source code: lualibs-os.lua#L637-L639
😱 Types incomplete or incorrect? 🙏 Please contribute!
os.validdate
Reference:
- Corresponding Lua source code: lualibs-os.lua#L641-L658
😱 Types incomplete or incorrect? 🙏 Please contribute!
os.date
Return a string or a table containing date and time, formatted according to the given string format.
If the parameter format
is missing the format string %Y-%m-%d %H:%M
is used.
Reference:
- Corresponding Lua source code: lualibs-os.lua#L660-L666
os.setexitcode
Reference:
- Corresponding Lua source code: lualibs-os.lua#L675-L677
@see os.exit
os.exit
Reference:
- Corresponding Lua source code: lualibs-os.lua#L679-L687
@see os.setexitcode
fields
os.platform
Reference:
- Corresponding Lua source code: lualibs-os.lua#L404
os.libsuffix
Reference:
- Corresponding Lua source code: lualibs-os.lua#L210-L214
os.binsuffix
Reference:
- Corresponding Lua source code: lualibs-os.lua#L210-L214