Announcement

Collapse
No announcement yet.

How can I post Clock Time on 30 Minute chart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I post Clock Time on 30 Minute chart

    I have a 30 Minute Chart
    How can I post Computer Clock Time on this chart ?



    I know how to post things,
    but I do not know how to get at Computer Clock time.
    Last edited by larrydudash; 08-07-2007, 07:48 AM.
    Larry Dudash
    HAL at
    http://share.esignal.com/groupconten...r=&groupid=549

  • #2
    larrydudash
    You access the system (ie computer) time through the Date Object. For the description and syntax of the Date Object and its methods see this article in the EFS KnowledgeBase
    Enclosed below is a basic example to retrieve the system hour and minute.
    Alex


    PHP Code:
    var dateobj = new Date(); 
    var 
    dateobj.getHours(); 
    var 
    dateobj.getMinutes(); 
    debugPrintln(h+":"+m); 

    Comment


    • #3
      It worked
      Had to do a slight modification for minutes below 10.
      Attached Files
      Larry Dudash
      HAL at
      http://share.esignal.com/groupconten...r=&groupid=549

      Comment

      Working...
      X