Jump to content
Server Maintenance This Week. ×

Changing the content of a field based on time


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

Recommended Posts

Hi Forum

I need to change the content of af field after 24 hours.

I think i need to make a field that stamps the time and use this in a calculation, but I am not shure how to make the calculation needed for this to happen.

Can anyone help please?

Thanks in advance... Kasper

Link to comment
Share on other sites

You need a timestamp field (creation or modification)

here is one way

Case ( Get ( CurrentHostTimeStamp ) ≥ (YourTimeStamp + 86000 ) ; "warning")

I'm not clear as to how you're going to use it, so I gave you a couple of options in the attached.

kallehval.fp7.zip

Link to comment
Share on other sites

I need to change the content of af field after 24 hours.

Can you explain why you need this? In general, nothing will happen as a result of merely time passing (with perhaps the exception of on timer triggered scripts), so you would indeed have to store two values and a timestamp, and provide an unstored calculation to decide between the two values based on comparing the current timestamp to the stored one.

Link to comment
Share on other sites

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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