A newer version of Max is available. Click here to access the latest version of the documentation

date Reference

Report current date and time

date

Description

Reports the current date, time, or the number of 1/60th-second ticks since startup.

Examples

For pieces which change slowly, date can be used as a clock to trigger events

Arguments

None.

Attributes

Common Box Attributes

Messages

date

Outputs the current date as a list (month/day/year) out the left outlet.

ticks

Outputs the current value of Ticks (the number of 1/60ths of a second since system startup) out the right outlet.

time

Outputs the current time as a list (military hours/minutes/seconds) out the middle outlet.

Output

int

Out right outlet: When the ticks message is received, date sends the current value of Ticks.

list

Out left outlet: When the date message is received, date sends the current date as a list.

list

Out middle outlet: When the time message is received, date sends the current time as a list.

See Also

Name Description
Working With Projects Working With Projects
clocker
timer