Announcement

Collapse
No announcement yet.

?Setup Factory datediff

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

  • ?Setup Factory datediff

    Hi All,
    does exists a way to have date difference inside setup factory between two date and time ? I've seen System.GetDate and System.GetTime to get current date time but I can't find a way to calculate difference from another instant.

    Thanks,
    Mirko

  • #2
    Remember that you can use all Lua 5.1 functions in Setup Factory 9, not only the customized actions for this product.

    For calculating the difference between two timestamps, I would use the native Lua functions: os.time(), os.difftime(), etc.

    See http://www.lua.org/manual/5.1/manual.html#5.8 for more details.

    Ulrich

    Comment

    Working...
    X