Xlate find julian date

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Xlate find julian date

  • Creator
    Topic
  • #47778
    Kathy Young
    Participant

      I need to find the corresponding julian date to an xlateInVals. I need to change month and day of birth to julian — 05/27 = 147. Is there a way to do this?

      Specifically, I am trying to calculate age when an infant is < 1 month old. Suggestions? AIX 5.1 // Cloverleaf 3.8

    Viewing 1 reply thread
    • Author
      Replies
      • #56699
        Charlie Bursell
        Participant

          clock format [clock scan 05/27] -format %j

          = 147

        • #56700
          Kathy Young
          Participant

            Charlie –

            As always, thanks. It works perfectly. I now have a proc that will calculate age. If the age is less than one year, I will send months. If less than one month, it will send days. My downstream system folks are very pleased.

            Kathy

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.