03.11.2011, 11:33
Hi all,
i despair with timestamps, i canґt find any solution for my problem.
Maybe you can help me
So I want to write 2 functions:
TimestampToDate(timestamp,&day,&week,&year,&second ,&minute,&hour)
RemainingTimeToTimestamp(timestamp,&RemDays,&RemWe eks,&RemYears,&RemSeconds,&RemMinutes,&RemHours)*
*This function means, if i have a timestamp maybe
1320320036 (03.11.2011 12:33:56)
and
1320320063 (03.11.2011 12:34:23)
So it returns 0days 0weeks 0years 27seconds 0minutes 0hours
etc.
Please help me,
I dont know how to write the functions, i spend a lot of time of searching posted functions but they donґt meet my wishes.
Cody09
i despair with timestamps, i canґt find any solution for my problem.
Maybe you can help me
So I want to write 2 functions:
TimestampToDate(timestamp,&day,&week,&year,&second ,&minute,&hour)
RemainingTimeToTimestamp(timestamp,&RemDays,&RemWe eks,&RemYears,&RemSeconds,&RemMinutes,&RemHours)*
*This function means, if i have a timestamp maybe
1320320036 (03.11.2011 12:33:56)
and
1320320063 (03.11.2011 12:34:23)
So it returns 0days 0weeks 0years 27seconds 0minutes 0hours
etc.
Please help me,
I dont know how to write the functions, i spend a lot of time of searching posted functions but they donґt meet my wishes.
Cody09