PHP Classes

PHP Time Dilation: Calculate the time dilation between objects

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 196 All time: 8,491 This week: 91Up
Version License PHP version Categories
time-dilation 1.0Public Domain5PHP 5, Physics


This class can calculate the time dilation between objects.

It applies Einstein's theory of special relativity to calculate the time dilation between a moving object and a stationary one.

The class can return results from either observer frame, moving or stationary.

It can convert time and velocity elements into units per second, supporting both metric and USA standards.

Innovation Award
PHP Programming Innovation award nominee
June 2015
Number 8
According to Einstein Theory of Relativity, time dilation is a difference of elapsed time between two subjects measured by observers either moving at different speeds relative to each other.

This class can compute the difference of perceived time elapsed between two objects moving at different speeds.

Manuel Lemos
Picture of Dave Smith
  Performance   Level  
Name: Dave Smith is available for providing paid consulting. Contact Dave Smith .
Classes: 51 packages by
Country: United States United States
Age: 58
All time rank: 618 in United States United States
Week rank: 13 Up2 in United States United States Up
Innovation award
Innovation award
Nominee: 32x

Winner: 7x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example Usage
Plain text file time_dilation.class.php Class Main Class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,491
This week:91Up