Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>ft_mil2civ()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_MIL2CIV()
 Convert time in military format to civilian format.
------------------------------------------------------------------------------

 Syntax

      FT_MIL2CIV( <cCIVTIME> ) -> dMILTIME

 Arguments

     <cMILTIME>  character string of form hhmm, where 0<=hh<24.

 Returns

     <cCIVTIME>  character string of form hh:mm (am,pm,n or m),
        where 0<hh<12.

 Description

     Converts time from military to civilian format

 Examples

     FT_MIL2CIV( "1640" ) ->  4:40 pm

     FT_MIL2CIV( "0440" ) ->  4:40 am

     FT_MIL2CIV( "1200" ) -> 12:00 n

     FT_MIL2CIV( "0000" ) and FT_MIL2CIV( "2400" ) -> 12:00 m

     Caution:  leading blanks are irrelevant.

 Source: MILTIME.PRG

 Author: Alexander B. Spencer

See Also: FT_CIV2MIL() FT_SYS2MIL() FT_MIL2MIN() FT_MIN2MIL()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson