Variable Convert(変数の変換)

Convert the specified variable’s value from one unit to another.

If a variable is specified for Store Result In, the new value is stored there and the original variable will not be changed.

If the conversion fails, no values will be unchanged.

Notes on particular conversions:

Date Time to Seconds

  • date and time must be separated by whitespace e.g. 20110304 11.32
  • date can be in YYYYMMDD format or xx-yy-zz, in which case the positions of day, month and year are determined by Android preferences
  • if time is ommitted it is assumed to be 00:00
  • time must be in 24hr format
  • individual components of date and time can also be separated by a colon, slash etc.

Bytes
*Megabyte and Gigabyte conversions are human-readable rather than precise.

https://tasker.joaoapps.com/userguide/en/help/ah_convert_variable.html

指定された変数の単位を変換します。

「結果の保存先」に変数が指定されている場合、変換後の値はこの変数に保存され変換前のあたいは変更されません。

変換が失敗した場合、値は変更されません。

特定の変換に関する注意:

日付を秒数に変換する場合。

  • 日付と時間はスペースで区切る必要があります。例:20110304 11.32
  • 日付の書式は YYYYMMDD形式かまたは xx-yy-zz のいずれかです。いずれの場合も年、月、日の並びはAndroidの設定に準じます。
  • 時間が省略された場合 00:00 が適用されます。
  • 時間は24時間制で指定します。
  • 日付と時間の各コンポーネントはコロン区切りやスラッシュほかの区切り文字が使用可能です。

バイト

  • メガバイトやギガバイト単位への変換は正確さよりも人が理解しやすいように配慮して行われます。