Method Community

 

Hide a button after a set time in the day Time Now() GT Time.

Last post 01-24-2020 3:44 PM by boblaw. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-22-2020 2:52 PM

    Hide a button after a set time in the day Time Now() GT Time.

    Trying to figure out a method to hide a button on a screen after a certain time of day. I can't seem to find a function to do this. I essentailly want to say if Now() is greater than 4:30, don't show this button.

    Obviously I can use a conditional statement to set the condition, however, I don't see any way to compare the "Current Date/Time" with a fixed time. (4:30). I do see that I can explicitly name the Date/time, but it would then fix the date.

    Bottom line is that I need to hide a button after 4:30 every day. However, it doesn't seem like I can do anything other than an explicit comparison of a fixed Day.

    Can anyone assist? Thanks.

  • 01-24-2020 3:28 PM In reply to

    Re: Hide a button after a set time in the day Time Now() GT Time.

    Hi Boblaw,

    I confirmed with our consulting team and was able to confirm that they were able to explain this to you on how to achieve this by using the AppRoutines in our Method:New platform. Those who are following this post and want to learn more about the App Routines can visit this LINK to our helpcenter.

    -Inder

  • 01-24-2020 3:44 PM In reply to

    Re: Hide a button after a set time in the day Time Now() GT Time.

    Inder,

    Thanks for the response. I'll take a look at the app routines.

Page 1 of 1 (3 items)