get mysql stamp as array