jdate_now {shide} | R Documentation |
Current Jalali date and datetime
Description
System representation of the current time as jdate and jdatetime.
Usage
jdate_now(tzone = "")
jdatetime_now(tzone = "")
Arguments
tzone |
Time zone to get the current time for. |
Value
-
jdate_now()
A jdate object. -
jdatetime_now()
A jdatetime object.
Examples
# Current Jalali date in the local time zone
jdate_now()
# Current Jalali date in a specified time zone
jdate_now("Asia/Tokyo")
# may be true or false
jdate_now("Asia/Tehran") == jdate_now("Asia/Tokyo")
# Current Jalali datetime in the local time zone
jdatetime_now()
[Package shide version 0.2.1 Index]