How to get 'outer' composition's current time? Suppose I've got 2 sequences, one named OUTER and one named INNER. Composition INNER is inside composition OUTER. INNER is shorter than OUTER and is placed in the middle of it's timeline. Inside INNER there is a text object which I want to display OUTER's current time - but I found out this is not so straightforward as I thought. My first idea was to create a solid namer TIMER inside OUTER and link the INNER's text object 'Source Text' to comp("OUTER").layer("TIMER").time and despite that this layer lasts from the beginning to the end of OUTER, the text shown from OUTER's perspective is always starting with 0.0 when INNER starts.

For the sake of clarity, here is the pic:

Is there a proper way to get linked composition's current time?
If you change the inner text layer's source text to this it will work:

thisCompLayer = comp("outer").layer(thisComp.name);    
thisCompLayer.time + thisCompLayer.startTime


You just offset the time to cope with the later start time. 

Looks like when AE calculates values from another composition it just calculates them for the current comp's time. It makes sense, because there could be multiple copies, or no copies at all of the inner comp in the outer comp.