infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
date/time.
Kevin Crist
I am taking the OBR 22 (which is time and date) and making an NTE segment and putting that in the in a different format. All is well, except i cannot figure out how to get semicolon's in the time. Everything i have seen wants you to pull the current system date/time and i do not need that. thanks
Find more posts tagged with
Clovertech
Comments
Tom Rioux
How are you doing your configuration for the date/time in the NTE?
Kevin Crist
we are using a tcl proc. the date/time is stored as 200807020800.
we would like it to say 07/02/2008 08:00.
we have it like we want with the exception of the semicolon in the time.
Charlie Bursell
I would do it like:
set dt 200807020800
# Make it scanable
regsub -- {(d{8})(d+)} $dt {1 2} dt
# Then smply format it
set newdt [clock format [clock scan $dt] -format
"%m/%d/%Y %H:%M"]