Dynamic Layer and Year Change / Time Slider Update

Discussion created by MasonGIS on Apr 27, 2012
Latest reply on Apr 29, 2012 by mlewin-esriuk-esridist
Using a Dynamic Layer and a time slider.

Currently I have a time slider responding with my month to month data using a dynamic layer. I based the code off the sample script from:

I would like to add in the option to switch between years in a drop down list and have the time slider update to the data only from the chosen year.
I see there is an example that displays this at:

However this example is utilizing a feature layer. I would really like to use the Dynamic layer.

So my question is can the year change / time slider update be done using a Dynamic layer? 
If so, maybe there is an example or a logic to work from.

Thank you so much!