Jump to content
Server Maintenance This Week. ×

This topic is 6850 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi ino,

Thanks for sharing.

Nice idea. Only one problem that I found. When I click the Up and Down Arrow for the date, it changes the month, and when I click on the Up and Dow Arrow for the Month, it changes the Day.

Lee

Link to comment
Share on other sites

Hi Lee, this makes sense because Ino's version formats dates as dd/mm/yy.

For a simplified US version, use

Let([

var1 = Get(ScriptParameter);

var2 = If( var1 < 4; 1 ; -1 );

M = Mod( var1; 3 )];

Date( Month(DateScroll::gDate) + var2 * (M = 1); Day(DateScroll::gDate) + var2 * (M = 2); Year(DateScroll::gDate) + var2 * not M )

)

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.