0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Power Automate Desktopで日付チェックをする

0
Last updated at Posted at 2026-03-14

概要

Power Automate Desktopには値が日付か時刻を表しているかをチェックするアクションが標準で用意されていないので、スクリプトを実行する必要があります。

本記事では、値を日付チェックする方法を紹介します。
※Power Fxを有効化した状態で説明しています。

実装

「.NETスクリプト実行」アクションで、言語は「VB.NET」を指定しています。

outCheckResult = IsDate(CStr(inDateValue).Trim())

スクリプトパラメーターで、入力変数(In)と出力変数(Out)を設定します。

実行結果

以下の結果になります。

2月、4月、6月、9月、11月の西向く侍は、28~30日までしか存在しないので結果はFalseになります。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?