AE ENHANCERS

Expressions/Scripts/Presets
It is currently Thu May 23, 2013 7:11 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: getting current date
PostPosted: Mon Feb 15, 2010 3:45 am 
Offline

Joined: Mon Mar 16, 2009 4:15 am
Posts: 6
hi all

im working on this project that need to index each movie i render with the current date ...is there a script i can write to an empty txt source layer to get the current date (day,month,year) automatically ....please help ?? :(


Top
 Profile  
 
 Post subject: Re: getting current date
PostPosted: Mon Feb 15, 2010 12:32 pm 
Offline

Joined: Sat Jun 26, 2004 10:01 am
Posts: 298
Location: Folsom, CA
Some variation of this Source Text expression should get you there:

D = new Date(Date(0));
"" + D.getDate() + "/" + (D.getMonth()+1) + "/" + D.getFullYear()


Dan

_________________
http://www.motionscript.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group