0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【なでしこ】和暦→西暦変換

Posted at

なでしこで西暦→和暦変換関数はあったのですが逆がなかったのでメモ。
変換出来なかった場合はエラーで落ちてしまうのでエラー監視もつけておきます。

エラー監視
	西暦=和暦に「+0/0/0」を日付加算。	
	和暦=和暦を「yyyy年mm月dd日」に日時形式変換。
エラーならば
	和暦=「」。
0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?