Zum Hauptinhalt gehen

Suche

Suche

Date Conversion To Dayname From Sub-String Variable

Kommentare

3 Kommentare

  • Avatar
    Legacy Poster

    Just link the text field in question to the date string value, and then you can change the "Data Type" to "Date", and make it a "Custom Format" to display the day how you want. I have attached a screenshot that may help.

     

     

    0
  • Avatar
    Legacy Poster

    nRyder

     

    Many Thanks for your reply but I am not sure that what you have described above is available to me. The reason is because the version of BarTender we are using is coupled to an ERP system and is based on an older version of BarTender version 9.4 SR3. This must have been made available in a later version - unless I am looking in the wrong place.

     

    Sorry I should have listed the version of BarTender in my first post!

     

    Regds

    Trevorw

    0
  • Avatar
    Ian Cummings
    Moderator

    Much of your script is redundant.  You can shorten it to something like the below:

     

    Value = WeekDayName(WeekDay("03/12/14"), True)

     

    or

     

    Value = WeekDayName(WeekDay(Format.NamedSubStrings("BT_SHIP_COLL_DATE").Value), True)

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.