Jump 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.

Enter date range for current month

Featured Replies

Hi,

I'd like to set up in a script where it will enter the date range for the current month as part of the Find portion of the script (FM 9). I have it partly figured out but, of course, the ending day is where I'm stuck at. This i what I came up with, so far:

Set Field [TimeSheets Current::Date; Month ( Get ( CurrentDate ) ) & "/" & "1" & "..." & Month ( Get ( CurrentDate ) ) & "/" & "30"]

Obviously, the beginning is easy, because every month starts with 1, but every month doesn't end with 30.

What can I put in place of the "30" so that, based on what the current month is, the range will include all the days for the month?

Help is definitely appreciated. Thank you!

Just enter * for the days, it'll find all days in that month.

  • Author

Gee....I've got to stop making things harder than they should be. That should've been a no brainer. lol...oh well. Thanks for the help!

Create an account or sign in to comment

Important Information

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

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.