Name |
day()天 |
Examples |
int d = day(); // Values from 1 – 31 int m = month(); // Values from 1 – 12 int y = year(); // 2003, 2004, 2005, etc.
String s = String.valueOf(d); text(s, 10, 28); s = String.valueOf(m); text(s, 10, 56); s = String.valueOf(y); text(s, 10, 84); |
Description |
Processing communicates with the clock on your computer. The day() function returns the current day as a value from 1 – 31. 处理与计算机上的时钟进行通信。日 () 函数将当前日期返回为 1-31 的值。 |
Syntax |
day() |
Returns |
int |
Related |
millis() |
- 本文固定链接: http://iprocessing.cn/2017/08/01/day天/
- 转载请注明: 卡萨布兰卡 于 Processing编程艺术 发表