3

My report displays the date time as "Friday, May 08, 2015" but I'd like to remove the 0 in the date field if the value is a single digit.

enter image description here

Should I use an expression to handle this? And if so, could I get some help on the expression?

Thanks,

Pedram
  • 6,256
  • 10
  • 65
  • 87
MISNole
  • 992
  • 1
  • 22
  • 48

2 Answers2

2

Yes, use an expression, the expression will look like this (replace Now() with your date value)

=Format(Now(), "dddd, MMM d, yyyy")

paul
  • 21,653
  • 1
  • 53
  • 54
2

It is best practice to use this expression:

=Format(Now(), "dddd, MMM d, yyyy")

with

  • dddd the week day
  • MMM the month
  • d the day of the month
  • yyyy the year on 4 digits
william.eyidi
  • 2,315
  • 4
  • 27
  • 39