Message-ID: <1409221986.4154.YahooMailNeo@web142604.mail.bf1.yahoo.com>
Date: 2014-08-28T10:33:06Z
From: arun
Subject: ANY ONE HERE PLZ Urgent
Try:
format(as.Date("05/07/2014", "%m/%d/%Y"), "%m")
#[1] "05"
#or
strptime("05/07/2014", "%m/%d/%Y")$mon+1
#[1] 5
A.K.
How to extract a Month from Date object?
almost 13 peoples visited my Question with out replying in New to R , i have task yaar
don't mind plz could you HELP ME
How to extract a Month from Date object?
as.month("05/07/2014", format = "%m")
tried wityh this