Date and Time as a channel
Hi.
Is it possible to get the Current Date and Current Time as a channel?
I know you can set a visual control to show the current date and time by setting its Value type, but I would like them as a channel instead, so that I can do some calculation. Is this possible?
Technical support
Hi,
you can add time as a math channel. There are three options to chose from: "time", "abstime" and "localabstime". Time will output the relative number of seconds, while the other two will output the number of days since the 30th December of 1899.
Attached files:
Thanks.
What I would like to do is to generate a text file with the file name containing the date and time. For eg. dd_mm_yyyy hh_mm_ss while the sequence is being run.
Is this possible?
I know how to generate a text file but not the date and time part of it.
Technical support
Hi,
ah, ok, that's a bit different. You can do it through the sequencer's calculation block. I've attached an example which reads the current date/time in your format and displays it in the last wait block.
Attached files: