Đang Thực Hiện

130618 Date format VBScript

I need a VBScript that will take an incoming date/time character value formatted as (m/d/yyyy H:M:S A), strip out the date portion and return the date formatted as character dd-MMM-yyyy where MMM is abreviated month ie January would be JAN, March would be MAR etc...

Please ensure that the dd is padded with a 0 when necessary ie: 2 would be 02.

Sample:

Incoming: "3/8/2007 3:16:00 PM" (no quotes)

Output: "08-MAR-2007" (no quotes)

If someone has a predone script that will do this, that would be fine as well.

Kỹ năng: Bất kì công việc gì, Visual Basic

Xem thêm: january is month, h&m, h & m, vbscript date format mmm, vbscript format date mmm yyyy, vbscript mmm yyyy, vbscript, MMM, date, character format, time date, visual character, visual basic script strip, format output, character visual, strip vbscript, script time date, format date script, time date script, vbscript strip, basic date format, visual basic date, date format visual basic, visual basic date format, date format

Về Bên Thuê:
( 92 nhận xét ) Winnipeg, Canada

Mã Dự Án: #1876786

Đã trao cho:

dperlberger

I have the vbscript written. See PMB for details.

$15 USD trong 0 ngày
(0 Đánh Giá)
0.0