Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2638

Re: Defaulting date to first day of the month (Syclo Agentry Workmanager 6.2)

$
0
0

Hi Bino,

 

As suggested by Bill, DATE function can be used instead of DATE_AND_TIME function because you require DATE as output of Rule. Following rule worked for me:

 

1. First_Date_rule.JPG

 

Note: 1. Replace 01 in above rule with a Global. Using hard coded values in rules is not considered as good programming practice.

2. If this rule is used in String context, then date will be displayed in dd/MM/yyyy format. Otherwise Format string will be ignored and date will be displayed in MM/dd/yyyy

 

Regards,

Sahil Dudeja


Viewing all articles
Browse latest Browse all 2638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>