geting multiplier value of hour/day/week from integer containing seconds
<p>I am storing a total number of seconds in a field like so:</p>

<p>Multiplier x Hour in seconds (60*60)<br/>
or<br/>
Multiplier x Day in seconds (60*60*24)<br/>
or<br/>
Multiplier x Week in seconds (60*60*24*7)<br/></p>

<p>The user can enter a multiplier (an integer value). Hour, Day, and Week are fixed values, so the user can select only one of those options.</p>

<p>The API i'm provided with only allows storing of this integer value as total number of seconds. </p>

<p>When retrieving this value, how would it be possible to determine what was the Multiplier value they entered and wether it falls under Hour, Day, or Week?</p>

<p>I'm currently developing this piece in PHP. Any help would be much appreciated.</p>
