跳至主內容

搜尋

搜尋

Date Code Format

評論

1 條評論

  • 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

登入寫評論。