Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Display time in Decimals.

  • Display time in Decimals.

    Posted by John Winthrop on October 11, 2016 at 2:47 pm

    With all of the time based expressions using decimal places it would be very convenient to be able to make the time display in seconds/tenths of a seconds rather than seconds/frames.

    I realize that each second is not devided into 100 pieces when playing at 60 fps but can I set it up so that it simply displays whatever time should be represented by the expression fro that frame?

    ie at 2 seconds and 30 frames it would say 2.5, and at 2 seconds and 15 frames it says 2.25?

    Thanks

    This is essentially the conversion chart I am using but it would be nice not to have to keep referring to it.
    https://www.pyramidtimesystems.com/Customer-Content/WWW/CMS/files/Adding_Time_Cards_By_Hand.pdf

    John Winthrop replied 9 years, 7 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    October 11, 2016 at 4:19 pm

    Are you talking about displaying comp time in a text layer? You could use:

    time

    or,

    time.toFixed(2)

    or,

    time.toFixed(1)

    Dan

  • John Winthrop

    October 12, 2016 at 3:01 pm

    Hi Dan, no sorry I did not explain properly.

    I just mean the little clock right above the bottom left section (above your layers) that displays the time your cursor is currently at in the timeline.

    As far as I can tell you can only display that in either “Hours;Minutes;Seconds;Frames” or just “Frames”.

    I would like to set it up as “Hours;Minutes;Seconds;1/100ths of second”.

    All of the time inputs in the expressions are done as “Seconds.hundreths” so if I want an expression to start where my cursor is and I see “0;00;20;16, I have to convert the frames (at 60fps) to decimal places ie “time=20.27;”. Its not the end of the world but would be really convenient if instead of displaying “0;00;20;16” it would just say “0;00;20;27” to save me the step of looking at the conversion sheet.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy