Notifications
Clear all
Topic starter
Hello!
I am trying to populate an observation using a quick text. I want the value to be today's date. I cannot get this working!
Any advice?
Thank you!
Michelle
{OBSNOW("CCM CONTR DT","","")}
Posted : March 27, 2019 8:03 am
Michelle,
Try the command below.
{OBSNOW("CCM CONTR DT", str(._TODAYSDATE))}
Remember to type this manually. Don't copy and paste as double quotes are often interpreted funny when copying and pasting from this forum.
Posted : March 27, 2019 8:59 am
Topic starter
Thank you!
I was putting it in quotes, which Centricity did not like!
Michelle
Posted : March 27, 2019 9:06 am
You might try:
{OBSNOW("CCM CONTR DT", ADDDATES(str(._TODAYSDATE), "0", "0", "0"))}
Good Luck
JJC
Posted : March 27, 2019 9:10 am
Or a little more simple
{OBSNOW("CCM CONTR DT", str(._TODAYSDATE))}
Posted : March 27, 2019 9:12 am