date_default_timezone_get()
function date_default_timezone_get(): string
Gets the default timezone.
Parameters: none.
Returns: string
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/time/date_default_timezone_get.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how date_default_timezone_get is implemented in the compiler, see the internals page.