(Msg. 9) Posted: Thu Sep 04, 2008 9:35 am
Post subject: Re: Turning Decimal time into HH.MM.SS format [Login to view extended thread Info.] Archived from groups: microsoft>public>access>reports (more info?)
Scott Graham wrote:
>Example of hours below whcih i want turned into HH:mm:SS format
>
>Hours
>0.05
>3.33333333333333E-02
>0.166666666666667
>0.583333333333333
>1.05555555555556E-02
>0.295
>0.429444444444444
>0.114444444444444
>0.639444444444444
>0.227222222222222
>0.166666666666667
>2.16694444444444
>0.166666666666667
>8.33333333333333E-02
If the total hours can ever be greater than 23, then use:
Int(Hours) & ":" & (Hours * 60) Mod 60 & ":" & (Hours *
3600) Mod 60
All times are: Eastern Time (US & Canada) (change) Goto page Previous1, 2
Page 2 of 2
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum