Top.
*--: P
001: X = TIME()
002: Y = SYSTEM(12)
003: A = ICONV(X,'MM')
004: B = ICONV(Y,'MM')
005: PRINT X,A
006: PRINT Y,B
007: L = OCONV(X,'MMHSM')
008: M = OCONV(Y,'MMHSM')
009: PRINT L,M
Bottom.
*--: I
*--: FIBR
Filed "TEST.TIME" in file "BP".
Compiling: Source = 'BP/TEST.TIME', Object = 'BP.O/TEST.TIME'
*

Compilation Complete.
75575.6608          7557566
75575.6608          7557566
75575.6608          75575.6608
>

This is 11.1.9 on Linux.


On Wed, Jan 2, 2013 at 9:06 PM, Wjhonson <wjhon...@aol.com> wrote:

> On Universe 11, OCONVing it as you suggested just returns the exact same
> result as the plain TIME() function without any conversion.
>
>
>
>
>
>
> -----Original Message-----
> From: LeRoy Dreyfuss <lfd...@gmail.com>
> To: U2 Users List <u2-users@listserver.u2ug.org>
> Sent: Wed, Jan 2, 2013 6:02 pm
> Subject: Re: [U2] Sleeping in Basic
>
>
> Don't ICONV it. Use OCONV.
>
> ex: OCONV(TIME(),'MMTHS')
>
>
> On Wed, Jan 2, 2013 at 7:54 PM, Wjhonson <wjhon...@aol.com> wrote:
>
> > The 'MM' conversion works with the TIME() (which returns milliseconds)
> > on Universe 11
> >
> > but for some reason is cutting off the display to only *hundredths* of a
> > second, instead of the thousandths which the milliseconds counts.
> >
> > So TIME() shows 60814.304
> > but ICONV(TIME(),'MM') shows 6081430
> >
> > without the trailing 4 milliseconds.
> >
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
>
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to