PHP Classes

Distance Time: Calculate the speed, pace for distances ran

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 44%Total: 413 This week: 2All time: 6,464 This week: 96Up
Version License PHP version Categories
distancetime 1.0Free for non-comm...5PHP 5, Time and Date, Games
Description 

Author

This class can be used to perform several calculations such as speed and pace for activities such as running, swimming or cycling.

It takes as parameters the distance, the distance units, and the time split in seconds, minutes and hours.

The class can calculate:

- The split time in hours, minutes or seconds
- The distance in several units
- The average pace and speed formatted in given units
- All time splits within a given time interval

This class is a tool to handle speed and pace calculations from time and distance data where the units required are variable. This ideal for running, biking, swimming activities.

Picture of Tim Charnecki
Name: Tim Charnecki <contact>
Classes: 1 package by
Country: Ireland Ireland
Age: ???
All time rank: 35073 in Ireland Ireland
Week rank: 106 Up2 in Ireland Ireland Up

  Files folder image Files  
File Role Description
Plain text file DistanceTime.class.php Class The php class
Accessible without login Plain text file DistanceTime.example.php Example A simple example of the DistanceTime class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:413
This week:2
All time:6,464
This week:96Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:44%StarStarStar
Rank:3379