Quantcast
Viewing all articles
Browse latest Browse all 10045

Date formula to convert 2015-06-07 00:00:00.000 to Jun-15

Hi All;

I have a date in the format

new_duedate =2015-06-07 00:00:00.000

i need to convert it to Jun-15

I am currently using below  formula

CONVERT(CHAR(4), (new_duedate), 100) + CONVERT(CHAR(4), (new_duedate), 120)

which converts into Jun 2015

Any help much appreciated

Thanks


Pradnya07


Viewing all articles
Browse latest Browse all 10045

Trending Articles