UNIDAC-MYSQL_How to disable auto date-time convert

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
vebaglaci
Posts: 6
Joined: Thu 05 Nov 2015 18:16

UNIDAC-MYSQL_How to disable auto date-time convert

Post by vebaglaci » Sat 21 Nov 2015 08:56

Hi,

I'm using UNIDAC on MySQL Database, as you know dates on MySQL is like "2015-01-01 - Y-m-d",so unidac converting those dates automatically as "d.m.Y" which is life saver option :) But in one of my project i need to disable that option, i can parse the returning date from database and i can format as i want but there are lots of forms in the project and i need to add lots of codes to do it, so i was wondering is there any option to disable auto date converting option ?

Thanks in advance.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: UNIDAC-MYSQL_How to disable auto date-time convert

Post by AlexP » Mon 23 Nov 2015 09:47

Hello,

The date and time format depends on the regional settings of every PC. To change date format, you should change the regional settings.

Post Reply