negative substring

wxdqz

New Member
i know it's possible with substr();
but what about a substring in a mysql_query?

for example:

mysql_query("SELECT substring(date, -5) as date", $db);

am i just going to have pull the whole value and then process it after the query?
 
Back
Top