How do I format date and time on ssrs report?

前端 未结 12 2038
野的像风
野的像风 2020-12-02 18:03

on SSRS report I need to show todays date and current time

i tried this =FormatDateTime(Now,\"MM/dd/yyyy hh:mm tt\") but this is not worki

12条回答
  •  温柔的废话
    2020-12-02 18:35

    The following is how I do it using Visual Studio 2017 for an RDL targetted for SSRS 2017:

    Right-click on the field in the textbox on the design surface and choose Placeholder Properties. Choose the Number panel and click on Date in the Category listbox, then select the formatting you are looking for in the Type listbox.

提交回复
热议问题