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.
On Tue, Jan 16, 2024 at 4:42 AM Patco <colet.patr...@gmail.com> wrote: > Hello, > > in zexy external there is [time] object > > > > Le 16 janv. 2024 à 11:26, Hrvoje Radnic via Pd-list <pd-list@lists.iem.at> > a écrit : > > 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 > > https://www.instagram.com/singlecycled/ > > https://pdvrecords.bandcamp.com/album/umovi-protiv-valova > https://soundcloud.com/sumovi-protiv-valova > 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 >
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list