jsfl getting times and dates

New Here ,
Nov 09, 2019

Copy link to clipboard

Copied

I have looked all through the doccument and I can't find anything that would allow me to access the current date, yet I've seen somebody with a custom command that is somehow able to do this?

TOPICS
Code, How to

Views

203

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

1 Correct Answer

Participant , Nov 09, 2019
Vladin M. Mitov Participant , Nov 09, 2019
Also, you can use Date object. If you ommit all parameters passed to the constructor, you'll receivethe current date / time.  var d = new Date(); fl.trace( d );  https://www.w3schools.com/js/js_date_methods.asp  

Likes

Translate

Translate
Jump to answer Jump to answer
Adobe Community Professional ,
Nov 09, 2019

Copy link to clipboard

Copied

you can access the system time/date by creating a file and accessing its getCreationDate (or modify something and access its getModificationDate.)

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Participant ,
Nov 09, 2019

Copy link to clipboard

Copied

Also, you can use Date object. If you ommit all parameters passed to the constructor, you'll receive

the current date / time.

 

 

var d = new Date();
fl.trace( d );

 

 

https://www.w3schools.com/js/js_date_methods.asp

 

 

- Vlad: UX and graphic design, Flash user since 1998
Member of Flanimate Power Tools team - extensions for character animation

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more