C
C
Cyril2017-12-05 23:41:28
css
Cyril, 2017-12-05 23:41:28

How to store month and year in mysql?

Hello! Can you please tell me how to store the month-year in the database?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
i10dev, 2019-09-22
@i10dev

you've messed with BS .col-**-*.
Blocks adapt correctly. The problem is img. img has a constant size (w150px and 150px), at low resolution your columns are more than 150px wide, hence the empty space.
for example, with a screen width of 600 pixels, each block is 265 pixels wide, and img is 150 pixels wide. here are those and a white space of 300 pixels

O
oh, 2017-12-06
@draaax

it is best to store a timestamp and take everything you need from it
otherwise, if you need to sort by year-month, you will have obvious problems

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question