פורמט של תאריך

9 views
Skip to first unread message

ronen

unread,
Sep 30, 2014, 12:33:26 PM9/30/14
to israel-r-...@googlegroups.com
 
שלום
אני מקבל תאריך בפורמט הבא : שנה חודש ויום
אני רוצה לקבל את זה הפוך - יום חודש ושנה כנהוג
איך אני עושה את זה?
תודה רבה
הנה הפלט שלי
 

> yesterday= Sys.Date()-1

> yesterday

[1] "2014-09-29"

> as.Date(yesterday,"%d/%m/%Y")

[1] "2014-09-29"

Moran Koren

unread,
Sep 30, 2014, 12:46:35 PM9/30/14
to israel-r-...@googlegroups.com

format

--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-g...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ronen

unread,
Sep 30, 2014, 1:13:22 PM9/30/14
to israel-r-...@googlegroups.com
תודה
ניסיתי ולא הצלחתי
אשמח להבין איזו אופציה בפורמט תעזור לי
 
תודה רבה

On Tuesday, September 30, 2014 7:46:35 PM UTC+3, Moran Koren wrote:

format

On Sep 30, 2014 7:33 PM, "ronen" <rfl...@gmail.com> wrote:
 
שלום
אני מקבל תאריך בפורמט הבא : שנה חודש ויום
אני רוצה לקבל את זה הפוך - יום חודש ושנה כנהוג
איך אני עושה את זה?
תודה רבה
הנה הפלט שלי
 

> yesterday= Sys.Date()-1

> yesterday

[1] "2014-09-29"

> as.Date(yesterday,"%d/%m/%Y")

[1] "2014-09-29"

--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-group+unsub...@googlegroups.com.

Moran Koren

unread,
Sep 30, 2014, 1:15:21 PM9/30/14
to israel-r-...@googlegroups.com

אני בלי מחשב, אז אין לי יותר פרטים... אין דוגמאות ב עזרה?
?format

To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-g...@googlegroups.com.

ronen

unread,
Sep 30, 2014, 1:44:59 PM9/30/14
to israel-r-...@googlegroups.com
תודה!
 
בפורמט אני מופנה ל
format.date
שזה בעזרת
as.Date
ואת זה ניסיתי כמו שכתבתי....

On Tuesday, September 30, 2014 8:15:21 PM UTC+3, Moran Koren wrote:

אני בלי מחשב, אז אין לי יותר פרטים... אין דוגמאות ב עזרה?
?format

On Sep 30, 2014 8:13 PM, "ronen" <rfl...@gmail.com> wrote:
תודה
ניסיתי ולא הצלחתי
אשמח להבין איזו אופציה בפורמט תעזור לי
 
תודה רבה

On Tuesday, September 30, 2014 7:46:35 PM UTC+3, Moran Koren wrote:

format

On Sep 30, 2014 7:33 PM, "ronen" <rfl...@gmail.com> wrote:
 
שלום
אני מקבל תאריך בפורמט הבא : שנה חודש ויום
אני רוצה לקבל את זה הפוך - יום חודש ושנה כנהוג
איך אני עושה את זה?
תודה רבה
הנה הפלט שלי
 

> yesterday= Sys.Date()-1

> yesterday

[1] "2014-09-29"

> as.Date(yesterday,"%d/%m/%Y")

[1] "2014-09-29"

--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-group+unsubscribe...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Jonathan Rosenblatt

unread,
Sep 30, 2014, 2:56:32 PM9/30/14
to israel-r-user-group
בעוד הכיוון של התשובות כאן נכון, אני מאוד ממליץ להתיידד עם lubridate שמאוד מקל על החיים.
אם בכל זאת חבילות הבסיס:
format(Sys.Date(), "%d/%m/%Y")


To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-g...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Jonathan Rosenblatt
www.john-ros.com

ronen

unread,
Oct 1, 2014, 2:53:12 PM10/1/14
to israel-r-...@googlegroups.com
תודה רבה יונתן
אנסה מחר
Jonathan Rosenblatt
www.john-ros.com

Reply all
Reply to author
Forward
0 new messages