Hello,
Is there any way we can get current timestamp in program rule action? I know we have V{current_date}, but I need current time also to set up one of the field value.
Thanks in advance,
Hiral
Hello,
Is there any way we can get current timestamp in program rule action? I know we have V{current_date}, but I need current time also to set up one of the field value.
Thanks in advance,
Hiral
Hi @ramavat
Yes, there isnāt a ācurrent_date_timeā variable.. what is your usecase for using ācurrent timeā? Time is also calculated during the event creation and can be retrieved through several ways. Would you share an example use case and how a real expression would look like? āIf current_time is 12AM thenā¦?ā
This is probably a feature request, and it reminds me of another feature request which is to calculate the duration in a format the included hours, minutes, and seconds, but in the ticket thereās a discussion of the real-world use cases, Jira
Looking forward to learn more. Thanks!
We wanted to generate unique id using program rule. For example, personās TEI, we have Personās First name, last name and then want to add timestamp to make it unique.
Thanks,
Hiral