How do I use the property date?

Hello,

I am looking to add a start date to my glance (now it just assumes 1 Jan).  The SDK info says one of the acceptable types is “date”.  However when I put it in, I get an error.

<properties>
<property id="StartDate" type="date"></property>
</properties>
 
If I change ‘date’ to ’number’ the error goes away.
The other option I have is to get day, month, year separately in the settings, but this seems sloppy considering the SDK says I should be able to use type ‘date’.
Thoughts?  Sample?
Thanks,
Jeff
  • Have you tried doing something like this for the property and setting?

    <property id="mydate" type="number">0</property>
     
    <setting propertyKey="@Properties.mydate" title="@Strings.mydate">
        <settingConfig type="date" />
    </setting> 

    This works in the sim, but there may be issues with the mobile app and iOS or Android.