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.

Featured Replies

I am using the DoScript plug-in by myFMbutler to execute a script based on the current time. The following calcs result in the following returns in Filemaker 8 Advanced.

## If the current time is 12:30 AM ##

If ( Get ( CurrentTime ) > "12:00:00 AM"; "yes"; "no") RETURNS - yes

If ( Get ( CurrentTime ) > "1:00:00 AM"; "yes"; "no") RETURNS - yes

If ( Get ( CurrentTime ) > "2:00:00 AM"; "yes"; "no") RETURNS - no

If ( Get ( CurrentTime ) > "3:00:00 AM"; "yes"; "no") RETURNS - no

If ( Get ( CurrentTime ) > "4:00:00 AM"; "yes"; "no") RETURNS - no

If ( Get ( CurrentTime ) > "5:00:00 AM"; "yes"; "no") RETURNS - no

If ( Get ( CurrentTime ) > "6:00:00 AM"; "yes"; "no") RETURNS - no

If ( Get ( CurrentTime ) > "7:00:00 AM"; "yes"; "no") RETURNS - no

If ( Get ( CurrentTime ) > "8:00:00 AM"; "yes"; "no") RETURNS - no

If ( Get ( CurrentTime ) > "9:00:00 AM"; "yes"; "no") RETURNS - no

If ( Get ( CurrentTime ) > "10:00:00 AM"; "yes"; "no") RETURNS - yes

If ( Get ( CurrentTime ) > "11:00:00 AM"; "yes"; "no") RETURNS - yes

24 hour notation (00:00:00) returns yes for every time until 13:00:00

What format do I need to have the variable time in order for filemaker to recognize it correctly? This is driving me nuts. :

  • Author

Well nevermind...

I just had to use GetAsNumber(Get(current time)) as well as retrieve the variable time as a number. Sometimes all you have to do is take the time to ask someone about a problem and BINGO you figure it out on your own.

Just FYI:

Get(CurrentTime) > "3:00:00 AM" // result: 0

Get(CurrentTime) > Time( 3; 0; 0 ) // result: 1

Welcome to the forums!

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.