How do I format date and time on ssrs report?

前端 未结 12 2028
野的像风
野的像风 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:30

    In SSRS 2016 There is an option under the properties header "Localization" called "Calendar", if you click on this it gives you these 2 options:

    • Gregorian (dd/mm/yyyy)
    • GregorianUSEnglish (MM/dd/yyyy)

    This works brilliantly when referencing data from a tables aswell

    alternatively if this does not work for you, specify one of these formats under "Number" and in the cell "Format":

    dd/MM/yyyy or MM/dd/yyyy

提交回复
热议问题