Could you paste the piece of code. From what it looks, you are using client side javascript to display the data and since this is being executed on the client side, it will use the client date/time and settings.

You will have to get the date on the server side and assign it to a client side variable and then use it.