I have a MS Sql Server table. One of the columns is a DateTime stamp.
I need only to extract the date. When I use the code:
$hiredate = $row["HireDate"];
gives me can "not convert to string" which I understand.
I need to only pull the date and not time, I know I can reformat the date once I successfully
assign it to a variable but that's the problem -
How do I assign it to a variable? Can I reformat the date before assigning it to the variable?
I see all sorts of info about date/time in the php manual but they are using constants, not something pulled
from a table...