インフォ FAQ
言語 環境比較
 
Index
 
  Processing 1.0 _ALPHAリファレンスは開発途中である。
もしエラーやコメントがあれば、reas at groupc.netへメールして下さい。
Name  

hour()

   
Examples  
void loop() { 
  int s = second();  // 0 から 59の値 
  int m = minute();  // 0 から 59の値 
  int h = hour();    // 0 から 23の値 
  line(s, 0, s, 33); 
  line(m, 33, m, 66); 
  line(h, 66, h, 100); 
} 
Description  

Processingはコンピューターの時計とコミュニケーションしている。 hour()機能は、 0から 24の現在の時間の値としてかえす。

 

   
Syntax  
hour()
   
Returns   整数
   
Usage   Web & Application
   
Related   millis()
second()
minute()
day()
month()
year()
   
© 2004- 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas