407-248-1481

QuoteWerks Knowledgebase Topic (Article ID 6403)

Print Layouts - Replace Military Time with Stanard Time

This information applies to :

Article ID
6403

Created/Updated
February 23, 2007

Category


Are you using the most current release of QuoteWerks?
Version 24.0 Build 4
Issue:
How do I change the time at the bottom of my Print Layouts from Military Time to Standard Time?


Solution:
Replace the Sys->Time field with the following formula:

.if.tonumber(first(sys->time,2))>12.then.totext(tonumber(first(sys->time,2))-12,0)+last(sys->time,len(sys->time)-2)+" PM".else.totext(tonumber(first(sys->time,2)),0)+last(sys->time,len(sys->time)-2)+" AM"

New Search