Skip to main content
Participant
November 9, 2019
Answered

jsfl getting times and dates

  • November 9, 2019
  • 2 replies
  • 558 views

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?

This topic has been closed for replies.
Correct answer Vladin M. Mitov

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

 

 

2 replies

Vladin M. Mitov
Vladin M. MitovCorrect answer
Inspiring
November 10, 2019

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 1998Member of Flanimate Power Tools team - extensions for character animation
kglad
Community Expert
Community Expert
November 10, 2019

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