Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Change just the month on time entries

Featured Replies

So i have some time entries that i input every 2 weeks

days are 1 to 15 and 16 to end of month.

i have a script that now Changes these dates after the master record is duplicated with line items. :wink2:

My script at the moment just inserts the current date into the field, what i would like is that it kept the DAY date and just changed the month to the current month and possibly the year to the current year so when i get to december my year gets updated, so i do not have to go back and insert the correct day and year again.

my "calculated result" on the set field step is [color:blue]Get ( CurrentDate ) i just need a new calculation but do not know where to start. :(

thanks for your time.

Robert

here is a screenshot

screen-capture-1.png

Hi Robert

a "Replace Field Contents" script step works ONLY on the found set, so that LOOP can easily be changed to a single step.

For your calculation, you can try:

Let([

d = Date ( Month ( Get ( CurrentDate ) ) ; Day ( YourDateField ) ; Year ( Get ( CurrentDate ) ) );

e = Date ( Month ( Get ( CurrentDate ) ) + 1 ; 0 ; Year ( Get ( CurrentDate ) ) )

];

Min ( d ; e )

)

  • Author

thank you so much Daniele for the CALC it works, it also works as a loop on my original script.

just saved my self sooooo much time and headache

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.