uiBootstrap timepicker stays one hour behind - angularjs

I am using ui-bootstrap timepicker and the time on the scope variable is always one hour behind the time that is displayed on the picker. what is causing it and how can I get rid of it. I need to store the correct time not the time thats one hour behind.
For example when the time on time-picker is :
16 : 12
i get to see on console:
Time is: "2016-05-26T15:12:34.403Z"
I followed very basic code for the ui-bootstrap timepicker. Can anyone explain how can I store the correct time in my variable.
Thanks in Advance.

Related

Statsig issue with Before Time and After TIme

I need to configure Statsig flag to return true for 30 days, by setting from and to dates
I am using "check time and date" and I am trying to set before and after time. But its giving invalid error. Not sure what is the mistake. Please guide to resolve this issue
Statsig uses American formats for dates - so MM/DD/YYYY, and XX:XX AM/PM
I think the UI should have a datepicker which enforces this. Here's what mine looks like

AngularJS Issue With time Input Formatting

I am fairly new to AngularJS and am having an issue with formatting the time object to populate my "time" input field in Android and Firefox. I have spent hours trying to figure out the issue and also utilized AngularJS's documentation to try and figure this out, but have had no luck.
I am dynamically populating an input field from JSON, and the result is always in the following format: 14:57:00.000
I need it to look like this in the input field: 2:57 PM
Here is the link to AngularJS that I have been referring to: AngularJS time input. At the bottom of the page is the plunker to run.
Thank you in advance for any assistance you can provide me.
you can use something like this
{{myTime | date: 'shortTime'}}

How to change x-axis datetime format in QlikView

First time Qlikview user here. Trying to get x-axis only showing the date from the timestamp. Here is the example,
It would be lovely to be able to remove the time. Does anybody know how to do this? I tried some simple script in the Used Dimension section under Dimension tab hoping to get only the date. It didn't work. It looked like this:
=date(floor(timestamp#(SomeDate,'MM/DD/YYYY hh:mm:ss'))) as record_date
Please help!
If you need to remove time than you rather use Date# function instead of timestamp#?
Below one is the sample one:-
Date#( DateField, 'M/D/YY')

How to set date to default time zone

I would like to set date to default time zone. At this moment my date looks like this: 2013-04-08T22:00:00 +02:00. I need to set my date to +00:00.
I tried to get the offset of my date and I received -120. Is it possible to set time offset? Are there maybe any better solutions?
Anybody an idea?
I'm using EXT JS.
JavaScript's Date object is bound to the time zone of the computer itself. There is no way to change the zone offset programmatically to an arbitrary value.
There is some work going on to add this functionality to the Moment.js library, but it is still in progress.
If you are just looking to get the time at UTC in ISO format, you can use .toISOString()
If you are speaking about code that is specific to the Ext.Date object from ExtJS, please edit your question and post some sample code so we can get a better idea of what you are talking about. Thanks.

Settings a Displayfield value a second time tooks quite to long

Can anyone tell me way the second time I am setting the value of a displayfield it took ExtJS arround ~300ms per field to set the value? I already tried to use setRawValue() instead of setValue() but it is all the same. A simple profiling shows that the time is consumed by the following lines:
me.inputEl.dom.innerHTML = me.getDisplayValue();
me.updateLayout();
Edit:
A further Prifiling shows that me.updateLayout(); took all the time.
Any Idea how I can speed this up? I tested it with ExtJS 4.1.3
You can improve performance by using Ext.suspendLayouts() before you start setting the fields. Once you've set all your fields, use Ext.resumeLayouts(true)

Resources