-
I'm trying to format a datetime in the class map so the output is dd/MM/yy however I can't figure out how to output only the last two digits of the year. Map(m => m.InvoiceDate).Index(12).TypeConverterOption.Format("dd/MM/y"); Map(m => m.InvoiceDate).Index(11).TypeConverterOption.Format("dd/MM/y hh"); Is anyone able to help with what I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This seems to work fine for me. What type is |
Beta Was this translation helpful? Give feedback.
This seems to work fine for me. What type is
InvoiceDate
? What is the culture you're using?