Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Time

Avatar

Former Community Member
Hello, how would I be able to make a text field show the current time (est) automatically? Thanks!!
2 Replies

Avatar

Former Community Member
You can add this FormCalc command to your Initialize event for the field that is supposed to hold the Time:



$=Num2Time(Time())



This will give you the current time in the format the your system uses.

Avatar

Former Community Member
I have a Decimal field on the form. This form is bound to a XML element where the value looks like this: 1,234.00.

When form is getting printed I have to show this value in the currency format: $1,234.00.

I tried to use Display option from "Patterns" to pick "$1,234.00", but it didn't work. I tried ALL currency formatting and still didn't work. If I replace "," in the XML for the value to look like this 1234.00, it works. But, is there any way to do it without replacing ","?

Can someone, please, give me a hint what am I doing wrong?

Thank you.