Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- eu tenho um campo no banco dataAtual , e preciso pegar os ultimos 6 meses dele
- ex:
- dataAtual mes
- '2017-02-06' 02
- '2017-02-06' 02
- '2017-03-16' 03
- '2017-03-16' 03
- Preciso pegar todos esses dados, ai sera 3,2,(1,12,11,10[se tiver tido uma leitura]) se não tiver, so pego os que tiver lá.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement