Thank you, Larry.


Larry Juncker wrote:

> What about:
>
> <CFSET time = "100">
> <CFIF Time MOD 60>
>         <CFSET hours = int(time / 60)>
>         <CFSET minutes = int(time - (hours*60))>
> </cfif>
>
> This will set hours = 1 and minutes = 40
>
> Then just tell your program to use those variables.
>
> -----Original Message-----
> From: Nathan Chen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 10, 2000 1:07 PM
> To: cftalk
> Subject: time format
>
> Hi Everyone,
>
> This should be simple but I just don't know.  How can I format 100
> minutes to 1 hour 40 minutes?  The value is 100 minutes and I want it
> displayed as 1 hour 40 minutes.
>
> --
> Nathan Chen
> (208)-426-8470
> Computer Control Systems, Inc.
>
> ----------------------------------------------------------------------------
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> ------------------------------------------------------------------------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

--
Nathan Chen
(208)-426-8470
Computer Control Systems, Inc.


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to