Skip to main content

Get current date with MonthName

Comments

3 comments

  • Johnny Stevens

    Hey Scott,

    The Format attribute of the Label allows you to customize the layout in any number of ways. It sounds like you want "MMMM dd, yyyy" (from MS Documentation of VB Date Formats).

    Here is the label as it would be configured in Logi Info:

    <Label
    Caption="2022-04-20"
    Format="MMMM dd, yyyy"
    />

    Results in April 20, 2022

    Simply place your Date Token into the Caption field and set the Format to MMMM dd, yyyy.

    Regards,
    Johnny

    0
  • Blake

    What about something like

    <Label

    Caption="@Date.Today~"

    Format="Long Date"

    />

    I believe the formats are borrowed from .net so you could probably do a quick search and find the format to drop the leading name of day.

    0
  • Scott Florcsk

    Thanks. Your solution worked perfectly!

    0

Please sign in to leave a comment.