Jump to content

Time formatting

From fCraft Wiki
Revision as of 19:38, 13 August 2011 by F (talk | contribs) (Examples)

fCraft uses a compact way to represent time intervals. Here is a brief explaination:

Format

The time is made up of one or more pairs of numbers and letters. The letter stands for different units:

s seconds
m minutes
h hours
d days
w weeks

You may combine different units in the same string. Do not use spaces. See examples below.

Examples

Compact Form Full Form
45s 45 seconds
1m30s 1 minute and 30 seconds
90s
1h30m 1 hour and 30 minutes
90m
5400s
2d10h 2 days and 10 hours
1w2d3h 1 week, 2 days, and 3 hours