concatenate formatted date

  • How do I enter an expression like: ="data as at " & format("dd/MM/yyyy hh:mm:ss)? I can format the text box OK, but that won't help.

  • I would say you're close already, don't you just need to add *something* to be formatted to the Format function?  I can't remember the syntax but something like ="today is " & Format(Now(), "dd/MM/yyyy hh:mm:ss")   should be close(ish).

     

    Steve.

  • Looks like you are trying to show current date and time, if so, just use Global parameter "ExecutionTime"  (i.e. =Globals!ExecutionTime). It shows date/time in your mentioned format.

     

  • That works fine, thanks guys.

     

  • Could someone help me pull the DayOfWeek from the ExecutionDate? I need something like:

    Monday, 10/31/2005. I am having touble getting just the day of week section.

  • try:

    format(Globals!ExecutionTime,"dddd, MM/dd/yyyy")

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply