Hi. I have an 8 character text field with data that I want to use for a date in a format like this 'MM/DD - MM/DD'
I have the formula {@dateformat}:
that formats my text data like '12/10 - 12/15'
(which is what I want)
My problem is that when I have a value group that contains a single value with a zero in front of it, the zero isn't showing up. Instead of 01/09 - 01/14 I am getting 1/9 - 1/14, even though the data in the record reads 01090114.
Can you please tell me what I am doing wrong or what I have to do to include the zeros?
Thank you so much for your help.
I have the formula {@dateformat}:
Code:
StringVar DF := {tblMeetings.Date};
Val (DF [ 1 to 2 ])&"/"&
Val (DF [ 3 to 4 ])&" - "&
Val (DF [ 5 to 6 ])&"/"&
Val (DF [ 7 to 8 ])
that formats my text data like '12/10 - 12/15'
(which is what I want)
My problem is that when I have a value group that contains a single value with a zero in front of it, the zero isn't showing up. Instead of 01/09 - 01/14 I am getting 1/9 - 1/14, even though the data in the record reads 01090114.
Can you please tell me what I am doing wrong or what I have to do to include the zeros?
Thank you so much for your help.