jsfl getting times and dates

New Here ,
Nov 09, 2019 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

226

Likes

translate

Translate

Translate

Report

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

correct answers 1 Correct Answer

Participant , Nov 09, 2019 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

Translate
Adobe Community Professional ,
Nov 09, 2019 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

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 09, 2019 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

Translate

Report

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