[progress Communities] [progress Openedge Abl] Forum Post: Re: Rollbase: How Do I Calculate...

  • Thread starter Thread starter sgajula
  • Start date Start date
Status
Not open for further replies.
S

sgajula

Guest
Hello RustyPipe, can you try below code, I tried it and got the answer 25567 days var from = new Date("1/1/1900"); var to = new Date("1/1/1970"); var timeDiff = Math.abs(from.getTime() - to.getTime()); var diffDays = Math.ceil(timeDiff / (1000 * 3600 * 24)); Thanks, Siddeshwar.

Continue reading...
 
Status
Not open for further replies.
Back
Top