Created
July 16, 2014 08:55
-
-
Save nagaki/a89faf235639049ced78 to your computer and use it in GitHub Desktop.
Adobe PDFのフォームに賞味期限を自動で入力する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var f = this.getField("BestBeforeDate"); | |
var d = new Date(); | |
d.setYear(d.getFullYear() + 2); | |
f.value = util.printd("yyyy.m.d", d); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment