Home > Forum > Overlay with provided DateTime

Overlay with provided DateTime

Jan 23 (10 months ago)
Nikolche Petrovski wrote
How can I add a DateTime text overlay but with a provided DateTime.
I can see in VideoEffectTextLogo that there is a TextLogoMode.DateTime, but this displays the current system time.
Is there a way for me to provide DateTime myself?
Reply
4 Answers
Jan 23 (10 months ago)
Roman Miniailov agent wrote
Hi

You can convert your DateTime to text and apply this text.
Jan 23 (10 months ago)
Nikolche Petrovski wrote
Hi, thanks for your response.

The thing is that I need the text to change as the time passes, displaying each second, minute etc. as it comes.
And if I put a text it will be fixed.
Jan 23 (10 months ago)
Roman Miniailov agent wrote
Yes, but DateTime is a struct; you can't attach it as a reference. Maybe we can make a callback or a custom class. Or you can update the effect manually each second.
Jan 23 (10 months ago)
Nikolche Petrovski wrote
Thanks.
I guess I can try updating each second manually to see how it works, if that's the best way.