I want to add a 'at' inside my DateTime format string but every time I try it messes it up?
origin.ToString("dd/MM/yyyy at HH:mm:ss");
When its this it works fine... but looks a bit ugly.
origin.ToString("dd/MM/yyyy HH:mm:ss");
add escape sequence:
origin.ToString("dd/MM/yyyy 'at' HH:mm:ss")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With