4 Replies Latest reply on Jun 30, 2010 9:15 AM by DanMun

    Date Conversions

    DanMun Level 1

      I am trying to convert a 4 digit year to a 2 digit year. I have a form with a dropdown box ("FYD") that has a number of 4 digit years, i.e 2001, 2002, 2003,.........etc.  I populate a number of text boxes ("fyautoyear") with the selected value just as entered with a script.  I would like to also populate a few smaller text boxes ("fy2dig") with a 2 digit version of the selected value, i.e 01, 02, 03,.....etc..  I wonder if this is possible?  I use these for fiscal year place holders.

       

      I would gladly attach the file but can't seem to do that in this discussion.