-
Notifications
You must be signed in to change notification settings - Fork 2
kiwi.core.RealTimeClock
Nikos Siatras edited this page Sep 28, 2022
·
4 revisions
The RealTime clock object provides methods for getting systemr's time and Timezone. Kiwi's System and time features uses the RealTimeClock in order to provide Date & Time accurately.
Return Type: Integer
Description: Returns the system's offset, in hours, from the Coordinated Universal Time (UTC +0)
Example Code:
#include once "kiwi\kiwi.bi"
' Print computer's clock timezone
Dim utcOffset as Integer = RealTimeClock.getUTCTimeZone()
print "System's Time Zone: UTC " & iif(utcOffset>0 ,"+" & abs(utcOffset) , "-" & abs(utcOffset))
Return Type: String
Description: Returns the system's Time Zone title
Example Code:
#include once "kiwi\kiwi.bi"
' Print computer's Time Zone Time
print RealTimeClock.getUTCTimeZoneTitle()
- MySQL/MariaDB - Coming to v1.0.2
- ArrayList
- Comparator
- HashMap - Coming to v1.0.2
- Queue