Set dynamic date on google calander - date

enter image description hereI am using google calendar .net mvc to show the total work time in resource section. How can calendar day view dynamic set next date if total time exceed 24 hr. please see attached.

Related

How to set the default print preview page based on a date in Crystal Report, when the report is launched?

I have been working on this for a while and can't figure out how to get it resolved. I have a crystal report in calendar format. The report always has 12 pages of a year, with each page for 1 month.
What I would like to accomplish: When the report is opened and the default first page is based on the current date's month. E.g. When today's date is 02/13/2023, the default page showing is February's page. When today's date is 04/05/2023, the default page showing is April's page.
Crystal report always shows the first page as default page, meaning, always starts from January's page. This is not user-friendly for users.
Thanks in advance.
What are you using to preview the report: Crystal Report Designer or a Crystal Runtime viewer?
Would you be open to a solution that provides the data via a web page? At least one of the 3rd-party Crystal Reports automation/scheduling tools listed on Ken Hamady's web site allows you to take schedule data in a Crystal report and convert it to an interactive web schedule with options for day/week/workweek/monthl views (that automatically default to the current date).

How to how show current date and time by default on contact form 7 in WordPress without taking input from user in datetimepicker

I have a "Ask for demo" form which has two options, 1. Contact me now and 2. Schedule a demo.
If user selects option 1 then current date and time should by displayed on form and if he selects option 2 then A calendar is shown for taking user input.
My problem is getting current date and time by default on form.
Please help.
TIA

How can I get the average page load time of the page that takes longer to load using Google Analytics REST API?

I'm trying to get the average page load time of the page that takes longer to load using Google Analytics REST API.
The following URL:
https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3XXXXXXXX&start-date=2016-10-01&end-date=2017-11-30&metrics=ga%3APageLoadTime&dimensions=ga%3Adate
Provides me the average page load time per day, but what I'm trying to get is the average page load time not for all the pages, but only for the page that takes longer to load. For the example that I'm providing, the URL will return me 9.4 (Total average page load time for a day), while the number that I want to retrieve is 74.6s (Average page load time for the page that takes longer to load).
Google analytics site view
Any idea on how to do that? I also tried adding ga:pagePath as dimension, but it will return all the average page times of all the pages ones, and I only want to get the ones that takes longer.
Thank you!
I think that is not possible to do this via a single call, to extract the longest load you need to add the page dimension and sort it desc.
https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3Axxxxxx&start-date=2016-10-01&end-date=2017-11-30&metrics=ga%3AavgPageLoadTime&dimensions=ga%3ApagePath&sort=-ga%3AavgPageLoadTime&max-results=1
Now you have to this day (i highly recommend you store this value on your own database and get this value from there),i think that you wanted to made a chart with this.
If i were to do this,i look for the Avg value, this metric can be better to determine medias, the highest one can be a single user that saw only a page and uses a very slow connection

Which API to automatically know total page views of pages containing specific strings in url?

Can anyone please tell me what API should be used to know total page views and unique page views of pages containing specific strings in url? For example: total page views and unique page views of all pages containing "default" in url, total page views and unique page views of all pages containing "step" in url etc.
We do it manually to generate monthly report. Now we are planning to develop an automated system where we will give required strings and date range as inputs and we will get our monthly reports as output.
You will want to use Core Reporting API.
Here is a sample query that would get you all pages containing step and the number of pageviews:
https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3A12345&start-date=2015-05-01&end-date=2015-06-08&metrics=ga%3Apageviews&dimensions=ga%3ApagePath&sort=-ga%3Apageviews&filters=ga%3APagePath%3D%40step

Using Appium - Unable to access date picker on mobile web app on android platform

I have created test script for mobile web application using appium.
The issues are given below
I'm not able to get date picker id's in DOM windows [Android default date picker populated in my web app which is available in setting menu of android mobile]
So how can i access date picker on mobile web application.
2.I tried copied DATE without opened date picker via java script. Date has displayed successfully but if i tried to navigating next screen, error has been displayed as pl entered DATE.
Please find the below code which i have taken DOM windows for text box ids[Date value should be stored in text box]
<input tabindex="-1" type="date" data-ng-model="firstMovedInDetails" data-ng-blur="firstMovedIn(firstMovedInDetails)" name="firstMovedInDetails" class="field mdot ng-pristine ng-valid selectboxblank" input-focus="" select-box="" resize-box="" style="width: 280px;">
Please find the below which I have written java script to paste the DATE in text box, without opened date picker
( (JavascriptExecutor)driver).executeScript ("var dob = document.getElementsByName('firstMovedInDetails')[0];dob.value='2010-01-06';");
The mobile web application developed by anjularjs.
Kindly let me know whether how can I access date picker or navigating on next page with date value.
Thanks in advance!
The default DatePicker in android has the IDs associated. Could you check once in the dev branch and confirm if they have not updated the same.
Is they did, you would have to access those objects to SET the date.