Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

field.formattedValue returns?

Avatar

Level 1

Hi,

I have a date field.

I just wanted to know what is the difference between below field properties?

Field Name = ReceivedDate

1. ReceivedDate.rawValue

2. ReceivedDate.formattedValue

On my machine, ReceivedDate.formattedValue retruns STRING value (if I use typeof ) but on other machine the same code throws  error.

I am assuming it is returning Date because of which typeof throws error.

Is ReceivedDate.formattedValue system depenedent?

Its very urgent, please help.

0 Replies