User Tools

Site Tools


macros:type:object:timestamp

Types/Object

Timestamp

This is a very complex type as it may contain various parts of a certain time or date. However, as it is used only in a very specific context - some functions related to tapping a tempo - you may retreat to the function Math.GetCurrentTimeStamp which returns the complete timestamp object of NOW.

Gregory Haynes:

The panelTimeStamp is a DateTime structure, unfortunately this is not one of the ‘primitive’ types supported by the menu system i.e. you cannot do “dateTime:xxx” and there is no automatic conversion from strings or integer values. Similarly there do not appear to be any parsing, casting or conversion function which you can use.

One option you can use is Math.GetCurrentTimeStamp so you can write a command like:

Masters.TapTempo(“Location=Playback,2,1”, Math.GetCurrentTimeStamp())
Also used in
You could leave a comment if you were logged in.
macros/type/object/timestamp.txt · Last modified: 2018/01/29 07:22 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki