跳到主内容

搜索

搜索

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

请先登录再写评论。