Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sv translation
languageja

日付や時間期間を数値として表示する方が便利な場合があります。

この形式はインディケーター設定で設定できます。

以下のシンタックスを使うことができます:

 

  • 入力を秒として認識
  • または - 入力を分として認識
  • または - 入力を時間として認識
  • または - 入力を日として認識

パターン:

文字日付要素または時間要素
H1日の時間数0
m1時間の分数30
s1分の秒数55
D1年の日数123

 

:
形式

durationH(HH:mm:ss)

18:34:54

durationH(dd:HH)

00:21

durationD(d 'days' HH 'hours' mm 'minutes' ss 'seconds')

212時間2533
Sv translation
languagede

Anzeige des numerischen Werts als Datum oder Zeitdauer [Original Seitentitel]

In some cases, it might be useful to display numerical value as date or time duration.

Image Added

This format can be set in the indicator settings.

Following syntax can be used:

 

  • duration(pattern) - takes the input number as seconds
  • durationM(pattern) or durationMinutes(pattern) - takes the input number as minuets
  • durationH(pattern) or durationHours(pattern) - takes the input number as hours
  • durationD(pattern) or durationDays(pattern) - takes the input number as days

Pattern:

LetterDate or time componentExample
HHour in day0
mMinute in hour30
sSecond in minute55
DDay in year123

 

Examples:
FormatExample

durationH(HH:mm:ss)

18:34:54

durationH(dd:HH)

00:21

durationD(d 'days' HH 'hours' mm 'minutes' ss 'seconds')

2 days 12 hours 25 minutes 33 seconds