→ index of namespace default
 
→ index of project core
 
→ index of module core

Class core.Time


Synopsis: A utility class to handle time stamps. Provides date conversion.

  Base classes:
  Methods:

Method calc
Signature
calc()

 
→ top of page
Method getHour
Signature
getHour():int
Returns
int–

 
→ top of page
Method getMin
Signature
getMin():int
Returns
int–

 
→ top of page
Method getMonth
Signature
getMonth():int
Returns
int–

 
→ top of page
Method getMonthday
Signature
getMonthday():int
Returns
int–

 
→ top of page
Method getNanoSec
Signature
getNanoSec():int
Returns
int–

 
→ top of page
Method getSec
Signature
getSec():int
Returns
int–

 
→ top of page
Method getString
Signature
getString():String
Returns
String–

 
→ top of page
Method getUtime
Signature
getUtime():int
Returns
int–

 
→ top of page
Method getWeekday
Signature
getWeekday():int
Returns
int–

 
→ top of page
Method getYear
Signature
getYear():int
Returns
int–

 
→ top of page
Method getYearDay
Signature
getYearDay():int
Returns
int–

 
→ top of page
Method gmtime
Signature
gmtime()

 
→ top of page
Method liesBetween
Check if date lies between tStart and tEnd (inclusive).
Signature
liesBetween(TimetStart,
  TimetEnd 
  )  
 :boolean
Arguments
TimetStart–
TimetEnd–
Returns
boolean–true when (tStart <= this <= tEnd)

 
→ top of page
Method localtime
Signature
localtime()

 
→ top of page
Method now
Signature
now()

 
→ top of page
Method setHour
Signature
setHour(inth)
Arguments
inth–

 
→ top of page
Method setMin
Signature
setMin(intmin)
Arguments
intmin–

 
→ top of page
Method setMonth
Signature
setMonth(intm)
Arguments
intm–

 
→ top of page
Method setMonthday
Signature
setMonthday(intmd)
Arguments
intmd–

 
→ top of page
Method setNanoSec
Signature
setNanoSec(intns)
Arguments
intns–

 
→ top of page
Method setSec
Signature
setSec(ints)
Arguments
ints–

 
→ top of page
Method setUtime
Signature
setUtime(intu)
Arguments
intu–

 
→ top of page
Method setYear
Signature
setYear(intyr)
Arguments
intyr–

 
→ top of page
 

Project Modules:core 
Project Classes:Boolean , Buffer , Byte , Class , ClassArray , Condition , Configuration , Double , DummyStream , Envelope , Event , Exception , File , Float , FloatArray , FloatArray128 , FloatArray16 , FloatArray32 , FloatArray64 , FloatArray8 , Function , HashTable , IntArray , IntArray128 , IntArray16 , IntArray32 , IntArray64 , IntArray8 , Integer , LFSR , LFSR_NR , List , ListNode , Long , Mailbox , Mutex , Object , ObjectArray , PakFile , PointerArray , Pool , Process , Script , SharedBuffer , Short , Stack , StdErrStream , StdInStream , StdOutStream , Stream , String , String128 , String16 , String32 , String64 , String8 , StringArray , StringIterator , Thread , Time , TKS , TreeNode , UnsignedByte , UnsignedInteger , UnsignedLong , UnsignedShort , Value , ValueArray , Variable 
Project Functions:ceil , exit , floor , GetCurrentThread , getenv , lcchar , mathAbsMaxf , mathAbsMinf , mathAbsMini , mathAbsMini , mathCerpf , mathClampf , mathClampi , mathDistancePointPlane2d , mathFoldf , mathFoldi , mathGCD , mathLerpCyclicf , mathLerpf , mathMaxf , mathMaxi , mathMinf , mathMini , mathNextCyclicf , mathPowerf , mathPowerfC , mathPoweri , mathSerpf , mathSmoothStepf , mathSmoothStepNf , mathWrapf , mathWrapi , milliSeconds , milliSecondsDouble , psystem , putenv , srand , system , ucchar 
All Namespaces:default , graph , ui 
All Projects:core , eqxmms , ShaderVG , ShaderVG_Text , tkanalogrytm , tkchipmunk , tkclap , tkfileutils , tkfreeglut , tkfreetype2 , tkfreeverb , tkmath , tkmidi , tkmidipipe , tkminnie , tkoldmath , tkopengl , tkportaudio , tkradiastools , tksamplechain , tksampleedit , tksampler , tksdl , tksdl_net , tksidplay2 , tkspeexdsp , tksqlite , tktriangulate , tkui , tkvst2 , tkzip , ui , yingtest 


auto-generated by "DOG", the TkScript document generator. Tue, 3/Mar/2026 18:10:17