I have a table of 336 rows. Each row assembles 30 minutes during the day throughout the week. In other words: 24 x 2 x 7
Timestamp: UNIX format
timeslot: (dunno yet)
My aim is to find the best way to name timeslots inside the table so I can map any timestamp to its row (timeslot) inside table.
I came to the idea of naming it dhhmm
for
Example 10830 means Sunday 8:30 am
But now I have issues when fetching the data using mysql. Can anyone suggest any better name convention?