hour and minutes in max?

Apr 30, 2006 at 6:21pm

hour and minutes in max?

hello!

My patch needs to know “what time it is!”

there are some way to bring the hours and minuts of the operative system (windows in this case) to my patch?

in js object… in the help there are one clock! so i think thas is possible to ouput the “time” of that object… but i’dont understand the js language so… can you help me to create two outputs from js object with the hour nad minute information!?

tkx for your time!!!

#25728
Apr 30, 2006 at 6:27pm

This is built into Javscript already. If you haven’t already looked,
a quick perusal of the JS core guide will give you a good idea as to
what’s in JS that isn’t Max specific and thus not in the JSGuide PDF.

http://www.webreference.com/javascript/reference/core_ref/

As for your question, check out the JS Date object:
http://www.webreference.com/javascript/reference/core_ref/da te.html

best,
wes

#76066

You must be logged in to reply to this topic.