Hi all
I can't seem to find the function for getting the current time (I need it for a log system) on Purebasic OS X
Thanks in advance
How do I get the current time on os x?
Re: How do I get the current time on os x?
Look in 'Help' for "Date()"
(from Help file)
(from Help file)
Code: Select all
Date$ = FormatDate("%yyyy/%mm/%dd", Date())
Time$ = FormatDate("%hh:%ii:%ss", Date())
MessageRequester("PureBasic - Date Example", "Date: "+Date$+Chr(10)+"Time: "+Time$, 0)
MacBook Pro-M1 (2021), Sequoia 15.4, PB 6.20