C/durations
m |
|||
| Line 8: | Line 8: | ||
{| class="simpletable" width="90%" style="font-size: 90%;" | {| class="simpletable" width="90%" style="font-size: 90%;" | ||
|- | |- | ||
| - | | '''y''' | + | | style="width: 120px;"|'''y''' |
| Years (365 days) | | Years (365 days) | ||
|- | |- | ||
| Line 32: | Line 32: | ||
===Examples=== | ===Examples=== | ||
| - | {| class=" | + | {| class="srvcscmd" width="90%" style="font-size: 90%;" |
|- | |- | ||
| - | | '''5d''' | + | | style="width: 114px;"| '''5d''' |
| 5 days | | 5 days | ||
|- | |- | ||
Revision as of 04:18, 10 January 2011
HELP DURATIONS
This is the syntax used for commands (in all services) that require time durations.
A time duration is made up of numbers and units. Multiple units may be also be specified in a row.
Valid unit letters are (case sensitive):
| y | Years (365 days) |
| M | Months (30 days) |
| w | Weeks (7 days) |
| d | Days (24 hours) |
| h | Hours (60 minutes) |
| m | Minutes (60 seconds) |
| s | Seconds |
Examples
| 5d | 5 days |
| 1y2M | 1 year, 2 months (total of 425 days) |
| 1d1h | 1 day, 1 hour (total of 25 hours) |
| 1h25m30s | 1 hour, 25 minutes, 30 seconds |
| [Go Back] |
