Getting wrong value from adaptive cards with input.date in MS Teams - azure-web-app-service

We have created an adaptive card with Input.Date field for MS Teams using botframework(in node). I have a dialog where the user choose date from date picker. But when user select date from date picker it gives date from input.date filed as one day before.
for ex: if we choose 10/12/2021 from date picker, it gives date value as 09/12/2021.
Date Picker
From Date picker image, I selected date as 12/10/2021 from date picker. but getting date value as 12/09/2021 from teams bot channel. Please find date value in below image(Date value(response) from teams channel).
Date value(response) from teams channel

Related

Get Latest Date from the cell value based on the frequency

I have a list of properties for Fire Alarm Service information for 2022 year. This excel file holds the type of frequency and service date for that frequency.
I want to get the last service date for that frequency.
how can we achieve this using formula?

Remove year from date data type

I am trying to build a custom sign up policy that will capture a few pieces of data from the user then verify it against a custom API we are building.
One of the pieces of data I need to verify is date of birth however I need to ask for only the Month and Day and NOT the year.
Using the built in datatype of date in the custom policy gives me a date picker but it includes the year.
<ClaimType Id="extension_dateOfBirth">
<DisplayName>Date of Birth</DisplayName>
<DataType>date</DataType>
<AdminHelpText>Your date of birth.</AdminHelpText>
<UserHelpText>Your date of birth.</UserHelpText>
<UserInputType>DateTimeDropdown</UserInputType>
</ClaimType>
Is there anyway to capture just the month and day from the user and NOT the year?
The way I do this is just to have a string with a predicate for "dd/mm" or whatever.
What I ended up doing here is just using two input drop downs capturing ints, one for day and one for month.

How can I manage items with shelf expiry in MAXIMO

We are managing some disinfection chemicals in our warehouse that have shelf expiry life.
What is the best way to manage the expiry date in MAXIMO.
The Expiration Date and Shelf Life fields on Inventory records are not applicable to items that are not set up as LOTTED as the Lot Type in Item Master/Inventory. These fields only have functionality for Inventory records when the item has a Lot Type of LOTTED. The functionality is described below.
-On receipt of the Lotted item, the User accepts/enters the Bin number and the Lot number;
-When the receipt is complete, the User enters the Shelf Life and the Expiration Date is calculated;
Once the Expiration Date is met, and there is a Current Balance on hand, the Expired Quantity in Stock value populates with this balance and the Current Balance and Quantity Available fields re-calculate to reflect only the quantity of this item on hand that has not exceeded the Expiration Date.
Some clients have set up Escalations to be warned of lotted items that are getting close to the expiration date by defining values in the following fields in the Escalation record:
Applies To: INVBALANCES
Condition: curbal >= 1 and lotnum is not null
-Escalation Point set to: USEBY -90.00 DAYS
Note: the Expiration Date field on the Inventory record is invbalances.useby

DTPicker Properties can't set custom date format correctly

For my Date Time Picker in Excel, I want to change the date format from 7/1/2020 to 2020-01-07 (yyyy-mm-dd).
So I went to DTPicker Properties and set the CustomFormat.
But when I went to check on the actual box, the date gives me 2020-00-07...
Even when I change the month to February, the month still remains 00. Same for when I move back to 2019.
What's the issue here?

Unable to get current date in primefaces schedule?

When i select a particular date it is showing the previous date I used the same example as in primefaces schedule Can someone show me within a working example how to schedule/mark holidays for that particular month http://www.primefaces.org/showcase/ui/schedule.jsf

Resources