On linux and probably OSX and bsd you can get to time and date from /proc/driver/rtc, use [file copy] to copy /proc/drive/rtc to a temp file and then read that temp file into [text], then just grab the needed fields from the [text]. This will work on most any linux and if it does not work on OSX/BSD they will have this somewhere in /proc/ or /sys/, been too long since I have used either of them but I think they have /proc/driver/rtc, no clue about Windows.
Hello,
in zexy external there is [time] object
Dear group,
Is there any solution for getting the system time-date in pure data vanilla? I would like to use my quick recording abstraction without worrying about file name and I know it could be done by using [savestate] and incremental numbering system, but I think it could be much more elegant to just use the time-date stamp as file name.
Thank you!
Hrvoje Radnic
00385(0)915225162
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list