Using server system time in an xlate to populate message date/time.

Clovertech Forums Cloverleaf Using server system time in an xlate to populate message date/time.

  • Creator
    Topic
  • #113370
    Marion Partridge
    Participant

      Hi,

      I’m using a vrl to hl7 conversion in an xlate and need to populate the MSH segment. Can I use the current date/time on the server to do this?

       

      Marion

    Viewing 0 reply threads
    • Author
      Replies
      • #113371
        Jim Kosloskey
        Participant

          Yes you can. Just make sure it is formatted properly. There is a Default Xlate variable @now which provides the system date and time. I don’t recall if it needs to be re-formatted but either the STRING Action (depending on Cloverleaf release) or a Tcl proc can do the job I would think.

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

      Viewing 0 reply threads
      • You must be logged in to reply to this topic.