M
Mikael Lindqvist
Hi,
I have a datefield that contains dates (yyyy-mm-dd).
Now, I want to convert this date field so that they DAY (dd) is changed to
the first day in the month (01)...
Example of data (before and after)
2008-12-05 -> 2008-12-01
2008-11-07 -> 2008-11-01
2008-10-27 -> 2008-10-01
I'm sure this can't be too complicated, but I just can't figure out how
(except converting it to a text field then extract yyy-mm and add "01" and
convert it back to date format, but I rather use a datefunction if that's
possible).
Kindly,
Mikael
I have a datefield that contains dates (yyyy-mm-dd).
Now, I want to convert this date field so that they DAY (dd) is changed to
the first day in the month (01)...
Example of data (before and after)
2008-12-05 -> 2008-12-01
2008-11-07 -> 2008-11-01
2008-10-27 -> 2008-10-01
I'm sure this can't be too complicated, but I just can't figure out how
(except converting it to a text field then extract yyy-mm and add "01" and
convert it back to date format, but I rather use a datefunction if that's
possible).
Kindly,
Mikael