Skip to main content

Search

Search

Date Code Format

Comments

1 comment

  • Avatar
    Shotaro Ito
    SetLocale("en-us")
    dd = Mid(Value,1,2)
    mmm = MonthName(Mid(Value,4,2),true)
    yy = "20" & mid(Value,7,2)
    value = dd & "/" & mmm & "/" & yy
    

    (Set locale is not needed when your PC language is set to English)

     

    From BarTender 10.0, you can apply custom date format to database field so you don't have to use VB Script anymore.

    0

Please sign in to leave a comment.