On my site user registration date stored as timestamp in varchar(20) column. I want to count how many users registered today, i written query:

```
SELECT COUNT(*) as count FROM `users` WHERE `user_group` = 7 AND `reg_date > 1368993600

```

1368993600 - today 0:00. This query return me count of all users instead of count registered today. I edited query:

```
SELECT COUNT(*) as count FROM `users` WHERE `user_group` = 7 AND CAST(`reg_date` AS SIGNED) > 1368993600

```

But it still not working... How I can count users registered today?