生成した時刻
ブラウザ内で生成。スペースキーでもう一度生成。
ランダムな時刻を選びます——就業時間内に限定したり、12時間制・24時間制を選んだり、必要なら秒も加えられます。
ブラウザ内で生成。スペースキーでもう一度生成。
ランダム時刻 の結果を JSON で取得できます。読み取り専用で、少量の利用なら API キーは不要、クロスオリジンのリクエストにも対応しています。
/api/v1/tools/random-timecurl https://randnext.com/api/v1/tools/random-time?from=9&to=17&format=24h&count=3| パラメーター | 型 | 説明(英語) | 初期値 / 使える値 |
|---|---|---|---|
from | integer | Earliest hour of the day, using a 0–23 clock. | 初期値:00〜23 |
to | integer | Latest hour of the day, using a 0–23 clock. | 初期値:230〜23 |
format | string | Clock format used in the result. | 初期値:24h24h, 12h |
seconds | boolean | Include seconds as well as hours and minutes. | 初期値:falsetrue または false |
count | integer | Number of results to return. | 初期値:11〜50 |
はい。9〜17の範囲なら 9:00〜17:59 のどれかになります。
はい。値はブラウザの暗号学的に安全な乱数源から得ており、どの値も同じ確率です。