Skip to main content

Local Time

Intro

Output the current time.

Rendering

Note that Local Time is primarily a playback feature and so may not always render to file as expected. The value is the ‘real clock value’ so if it takes 1 second to render 150 frames, each of those 150 frames will be given the same second value. In this example, if the Composition's Frame Rate is 25fps, the output will update every 25 frames in playback whereas the render will only update every 150 frames.

The Frame Behaviour can be used to create a 'counter'.

UI

Strength - A multiple for the output. Setting this to 50% will result in time progressing half as quickly.

Mode - Select the unit of time to output:

  • Milliseconds through Second -
  • Seconds through Minute -
  • Seconds through Hour -
  • Seconds through Day -
  • Seconds through Week -
  • Seconds through Month -
  • Seconds through Year -
  • Minutes through Hour -
  • Minutes through Day -
  • Minutes through Week -
  • Minutes through Month -
  • Minutes through Year -
  • Day of the Week -
  • Day of the Month -
  • Day of the Year -
  • Month of the Year -

Output Mode -

  • Unit - Output the time as a unit/value.
  • Ratio - Output the time as a ratio. e.g. if it's half way through the year output Day of the Year as 0.5.

Offset - Add/subtract values to the output.

Example
  1. Create a Text Shape.
  2. Using the + to the right of the Text attribute add a String Generator.
  3. Set the Generator to Value.
  4. Add a Local Time.
  5. Set Mode to Day of the Month.
  6. Connect localTime.idstringGenerator.number.

If today is the 11th August the Text Shape will output 11.