WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Turning Decimal time into HH.MM.SS format

 
Goto page Previous  1, 2
   Home -> Office other -> Reports RSS
Next:  Textbox in report  
Author Message
Marshall Barton

External


Since: Dec 07, 2003
Posts: 6121



(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

--
Marsh
MVP [MS Access]
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Reports All times are: Eastern Time (US & Canada) (change)
Goto page Previous  1, 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
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET