PDA

View Full Version : Date custom field



Jazz_North
06-08-2017, 03:13 PM
I have created two Date custom fields (Date1 and Date2) that are per-track. I have no problem entering data in these fields (the Today button is very useful). However, I cannot get the date to print correctly. Here is the section of code I am using (this on Track page, so should refer to just the one track):

<dax:if(Date1)><dax: Date1/></dax:if>

(Because the forum software wants to stick a smiley face over : followed by D so I have added a space after dax: in this post which is not in the code.)

Instead of printing the date, it prints this: (various).

I know that there is a data in Date1. What am I doing wrong?

Jazz_North
06-08-2017, 08:55 PM
Solved

I need to use trackdate1 rather than date1. Works just fine then.