Jason400 Posted August 31 Share Posted August 31 Im trying to create capsules using formulas but get errors. "capsule('August 15 2023 21:00', 'August 17 2023 17:00')" Do I need to define the asset? Thanks Link to comment Share on other sites More sharing options...
Thorsten Vogt Posted August 31 Share Posted August 31 Hi Jason, you need to specify the date in an ISO 8601 format, then it should work. In the following example I am creating a condition with one capsule from Aug 19th to Aug 20th using UTC+2 timezone: condition(10d, capsule('2023-08-19T00:00:00+02:00', '2023-08-20T00:00:00+02:00')) Regards, Thorsten Link to comment Share on other sites More sharing options...
Jason400 Posted August 31 Author Share Posted August 31 Thanks. What is 10d? Link to comment Share on other sites More sharing options...
Thorsten Vogt Posted August 31 Share Posted August 31 When using condition() you need to specify a maximum capsule duration. 10d means 10 days. I could have shortened this to 1 day in my example, as the capsule only captures the 19th of August. Regards, Thorsten Link to comment Share on other sites More sharing options...
Jason400 Posted September 1 Author Share Posted September 1 Thanks. I figured it out, all but the +2.00. What does that represent? Link to comment Share on other sites More sharing options...
Jason400 Posted September 1 Author Share Posted September 1 Figured it out, its time zone. Thanks for the help. Cheers Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now