Modify Birthdate to show Month only

Sort:
You are not authorized to post a reply.
Author
Messages
Nabil
Veteran Member
Posts: 61
Veteran Member
    I have a DME call for specific fields in HR11 and one of these fields is PEM-BIRTHDATE but instead of showing the whole date, I need to only show the month.

    Is there an easy way to do this?

    Thanks
    Ragu Raghavan
    Veteran Member
    Posts: 468
    Veteran Member
      how about a substr ?
      something like

      var vDOB = sAGSInfo.selectSingleNode("//PEM-BIRTHDATE").text;
      var vMM = vDOB.substr(0,2);
      Nabil
      Veteran Member
      Posts: 61
      Veteran Member
        Thank you Ragu for the tip...It's working.
        You are not authorized to post a reply.