LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Adding time

    Employee
    Posted 03-16-2015 13:33

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: tekaleka

    HI,

    I would like to add 10 minutes to an existing time field i have. All suggestion much appreciated.

    Regards

    Mafileo


  • 2.  RE: Adding time

    Employee
    Posted 03-16-2015 14:38

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ryeh

    Copy paste the following into a graph.

    node:Time
    bretype:core::Static Data
    editor:Label=Time
    editor:sortkey=55074c8410462219
    output:@40fe6c55598828e5/=
    prop:StaticData=<<EOX
    Time1:datetime
    2015-1-30 8:10:05
    2015-1-31 23:59:05
    
    EOX
    editor:XY=130,200
    end:Time
    
    node:Add_10_min
    bretype:core::Filter
    editor:Label=Add 10 min
    editor:sortkey=55074cb225513e31
    input:@40fd2c74167f1ca2/=Time.40fe6c55598828e5
    output:@40fd2c7420761db6/=
    prop:Script=<<EOX
    time2 = time1.dateTimeAdjust(10,"minutes")
    
    
    emit *, time2
    
    
    
    EOX
    editor:XY=240,200
    end:Add_10_min


  • 3.  RE: Adding time

    Employee
    Posted 03-17-2015 18:43

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: tekaleka

    thank you...much appreciated