Date Calculation
日付に時間を加減算し、結果をフォーマットします。
データDateCalculation
概要
Date Calculation は、AutoFlowRPA の データ カテゴリに属するノーコードの自動化ステップです。 ワークフローが到達すると、1 つのステップで処理を実行します。 7 個のパラメータを設定して、動作を細かく制御できます。 ビジュアルビルダーでワークフローにドラッグできる 369 個のコマンドの 1 つで、スクリプトは不要です。
概要
日付に時間を加減算し、結果をフォーマットします。
Add or subtract time from a date and format the result.
パラメータ
| パラメータ | 型 | 必須 | 既定値 | 説明 |
|---|---|---|---|---|
| Date | string | 必須 | now | 'now' or a date string (ISO, or matching the input format). 例: now 変数に対応 |
| Operation | dropdownAdd · Subtract | 必須 | Add | |
| Amount | number | 必須 | 1 | 例: 7 変数に対応 |
| Unit | dropdownseconds · minutes · hours · days · weeks | 必須 | days | |
| Input format | string | 任意 | strptime format for the input (blank = ISO). 例: %Y-%m-%d | |
| Output format | string | 任意 | %Y-%m-%d %H:%M:%S | strftime format for the result. |
| Store result in | variable | 必須 | 例: newDate |
Date Calculation コマンドの使い方
- 1
AutoFlowRPAを開き、データグループからDate Calculationコマンドをキャンバスにドラッグします。
- 2
サイドパネルでパラメータを設定します。Date Calculationには設定可能な項目が7個あります。
- 3
ワークフローに接続してRunを押します。すべて端末上でローカルに実行されます。
よくある質問
Date Calculation コマンドは何をしますか?
日付に時間を加減算し、結果をフォーマットします。
Date Calculation コマンドはどのグループに属しますか?
Date Calculationはデータグループに含まれます。AutoFlowRPAはコード不要で組み合わせられる369個以上の標準コマンドを搭載しています。
Date Calculation コマンドにパラメータはありますか?
はい。Date Calculationには設定可能な項目が7個あり、ビジュアルノードエディタで編集できます。