convert minutes to day

  • Thread starter Thread starter Reza Alirezaei
  • Start date Start date
R

Reza Alirezaei

I need a function which converts minutes to day: for instance

X(14400)=10 days
X(14406)=10 days and 6 minutes

Do we have such a function or I have to write it my self?
 
* "Reza Alirezaei said:
I need a function which converts minutes to day: for instance

X(14400)=10 days
X(14406)=10 days and 6 minutes

Do we have such a function or I have to write it my self?

Have a look at the 'Mod' and '\' operators and remember that 1 hour has
60 minutes and one day 24 hours.
 
I need a function which converts minutes to day: for instance

X(14400)=10 days
X(14406)=10 days and 6 minutes

Do we have such a function or I have to write it my self?

Dim ts As New TimeSpan(0, 14400, 0);
Console.WritLine(ts);
 
Hi Herfried,
remember that 1 hour has
60 minutes and one day 24 hours.
Thank you very much for this information.
Is that what you learn on the university of Wien

:-)

Cor
 
* "Cor Ligthert said:
Thank you very much for this information.
Is that what you learn on the university of Wien

I think I learned that when I was 5 ;-).
 
Back
Top