iNTERFACEWARE Products Manual > Installing and Using Chameleon > Using Python Scripting > Python Scripting Examples > Date and Time Manipulation > Manipulating a Date in a String |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
When dealing with times, you sometimes need complete flexibility. For example, suppose that the date "September 4, 1999" is stored as "19990423", and you want to convert this date to "23-APR-1999". The following code example defines a function that performs this type of date translation:
And the following code uses this function to perform the conversion in a segment level or table level script:
|