Azure search service datetime conversion -


i'm started using azure search service , have roadblock now. have modified-by column in native db table, part of retrieve data azure search. native db column has date time in utc format when retrieve bl layer conversion based on user locale.

do have anyway convert utc locale date in azure search search independent , not passing through bl layer avoid slow down in search.

azure search accepts date/time values full time zone information (edm.datetimeoffset -- e.g. 2012-12-03t07:16:23-07:00) , normalizes them utc storage purposes. azure search not convert date/times different time zones you. if need convert locale of each user on per-search basis, need conversion on client side.

if search client browser, maybe solution work you: convert utc date time local date time using javascript


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -