How to convert an eight-digit string to a date variable?
I have the following fields in my document. The {Ask} prompts me for an eight-digit string which I’d key in as 20010731.
I want the ‘week of’ field to print as a date format, so where you see InvNumb I really want something that assembles a date vale from my eight-digit value.
I used to have Week Of Time @ “dddd, MMMM dd, yyyy”}, but that gives me today’s date, the date on which I prepare the invoice, and i really want to create my invoices one after another, all on the same day, keying in an appropriate eight-digit string for each one.
{Ask InvNumb “Invoice Number”}
Week Of {InvNumb @ “dddd, MMMM dd, yyyy”}
Invoice Number {InvNumb @ “YYYYMMDD”}