Showing current year in Text box
January 8, 2015 12:00 AM
Anyone have a quick fix to show the current year in a text box?
Discussion (2)
We use the following method to get the current date completely:
Action: Change Contents
Target: TextBox1
Value: CurrentDate (predefined variable)
Maybe there is an additional function within the Modify Variable action which helps you modifying the CurrentDate variable so you can get just the year like LEFT() or YEAR() in Excel?
Best regards,
Martin
You'll need JavaScript to strip the year from the full date. Let me know if you need a sample.
Discussions have been disabled for this post