Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: date value abstract  (Read 2648 times)

Hassan

  • Newbie
  • *
  • Posts: 19
    • View Profile
date value abstract
« on: July 08, 2019, 02:39:31 pm »
How to abstract day from date variable Example $V{_dateValue-1}
Thank you.

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: date value abstract
« Reply #1 on: July 08, 2019, 03:20:33 pm »
If you need to extract day from the date you can use something like this
Code: [Select]
$S{
var date = new Date($D{detail.OrderDate});
date.getDate()+1;
}