QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Petr on April 02, 2020, 07:38:08 am
-
Hi.
Try this:
TIME$ = "11:01:32"
PRINT TIME$
Time is not set correctly. Can you please repair it to next QB64 release?
-
I thought TIME$ was a system variable that couldn't be changed, but according to
the documentation it can. I thought the question was an April 1 joke too.
-
TIME$ as a statement has not been implemented, only as a function.
DATE$ has been left out as a statement as well.
For more reference: http://www.qb64.org/wiki/Keywords_currently_not_supported_by_QB64 (http://www.qb64.org/wiki/Keywords_currently_not_supported_by_QB64)
Messing with a system's time nowadays can be disastrous in some scenarios, you should not be attempting it anyway.
-
Thank you for reply