Home » U++ Library support » U++ Core » time format from no. of seconds
time format from no. of seconds [message #10032] |
Fri, 15 June 2007 14:17  |
qwerty
Messages: 130 Registered: May 2006
|
Experienced Member |
|
|
hello,
can Ultimate++ make me a nice string time format("01:26:65") from number of seconds? :
3763 s -> 01:02:43
or do i have to do it manually?
thanx
|
|
|
Re: time format from no. of seconds [message #10036 is a reply to message #10032] |
Sun, 17 June 2007 11:24   |
 |
mirek
Messages: 14257 Registered: November 2005
|
Ultimate Member |
|
|
qwerty wrote on Fri, 15 June 2007 08:17 | hello,
can Ultimate++ make me a nice string time format("01:26:65") from number of seconds? :
3763 s -> 01:02:43
or do i have to do it manually?
thanx
|
struct Time : Date, RelOps< Time, Moveable<Time> > {
....
void Set(int64 scalar);
int64 Get();
};
Time operator+(Time a, int64 seconds);
Time operator+(int64 seconds, Time a);
Time operator-(Time a, int64 secs);
Time& operator+=(Time& a, int64 secs);
Time& operator-=(Time& a, int64 secs);
|
|
|
|
Goto Forum:
Current Time: Mon May 12 13:14:42 CEST 2025
Total time taken to generate the page: 0.03210 seconds
|