Results 1 to 2 of 2

Thread: TaskRunner task taskStartTime, taskRunTime

  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2009
    Posts
    23

    Default Answered: TaskRunner task taskStartTime, taskRunTime

    In a TaskRunner task, the properties taskStartTime and taskRunTime have values like these: 1415227325880, 1415227319737.

    What are these? I'm assuming they're some kind of date expression, but how are they usable and how can they be converted? I can't find documentation for them.

  2. Looking at source available from API http://docs.sencha.com/extjs/4.2.3/#...til.TaskRunner, those are set using Ext.Date.now().

    Code:
    console.log( Ext.Date.now() );
            console.log( new Date( Ext.Date.now()));
            
            console.log( new Date(1415227325880));
            console.log( new Date( 1415227319737))
    Output :

    Code:
    1415233414895 
    Wed Nov 05 2014 17:23:34 GMT-0700 (Mountain Standard Time) 
    Wed Nov 05 2014 15:42:05 GMT-0700 (Mountain Standard Time) 
    Wed Nov 05 2014 15:41:59 GMT-0700 (Mountain Standard Time)

  3. #2
    Sencha User carol.ext's Avatar
    Join Date
    Jun 2007
    Location
    Littleton, Colorado, USA
    Posts
    707
    Answers
    25

    Default

    Looking at source available from API http://docs.sencha.com/extjs/4.2.3/#...til.TaskRunner, those are set using Ext.Date.now().

    Code:
    console.log( Ext.Date.now() );
            console.log( new Date( Ext.Date.now()));
            
            console.log( new Date(1415227325880));
            console.log( new Date( 1415227319737))
    Output :

    Code:
    1415233414895 
    Wed Nov 05 2014 17:23:34 GMT-0700 (Mountain Standard Time) 
    Wed Nov 05 2014 15:42:05 GMT-0700 (Mountain Standard Time) 
    Wed Nov 05 2014 15:41:59 GMT-0700 (Mountain Standard Time)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •