Re: substr ldap php
On Jul 31, 5:12 pm, kevan.we...@xxxxxxxxx wrote:
I need help! I'm making a php search page with our ldap server, and
when I return a value, the date displays like this : 200703191410Z ;
when what i want is 2007-03-19, or something along those lines. I
tried using the substr method, but that just returns parts of the
attribute name rather than the returned date. Any help would be
appreciated thanks!
Kevan11
normally there are sql command to receive the date (PRE)formatted in
the way you prefer directly in the query.
e.g. mysql have date_format().
this is just an idea, I don't know if this suite you!
.
Relevant Pages
- Re: Lookups
... I then want to assign each unit a floorplan type but then I want the subsequent columns to automatically reflect the remainder of the specs, that is, just by initially assigning the suite a floorplan type, the subsequent columns show the square footages, bedroom count, etc. ... were I think my Excel doc should really be in Access... ... Then you could add a column in the Suites table called "type" which will be assigned the identifier of one of the floorplan types. ... you can do the same (just for one query) in the Query Builder. ... (microsoft.public.access.gettingstarted) - Re: Problem with SQL and Recordset
... This assumes that the name of the subform control on the parent form is the ... NextSuffix field from the "query" to be entered into the Suffix field on ... Dim mySQL As String ... (microsoft.public.access.modulesdaovba) - Re: [Q]Problems related to the MySQL linked Server.
... The error messge when I query data with following SQL. ... select @v_intUserNo = uno ... where userid = 'testid' ... I have two questions about the linked server for the MySQL. ... (microsoft.public.sqlserver.odbc) - Re: Performance MySQL
... schicke erst den Query an die Datenbank ab, ... Möglichkeit von Concurrent Inserts nur MyISAM Storages ein. ... > MySQL bis jetzt noch nichts zu bieten. ... Welcher Tabellentyp? ... (de.comp.datenbanken.mysql) - Re: where to get mySQL questions answered?
... After resolving some performance issues with mysql in building initial ... soon as I add an OR to my WHERE x LIKE '%blah%' type queries. ... My php code dynamically builds an sql query. ... (comp.lang.php) |
|