Questions tagged [date-time]

Represents an instant in time, typically expressed as a date and time of day.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Hours as a default value in sharepoint list [closed]

How can I have a default hour for my SharePoint list? I want to set date as today (it is easy part) and also want to set the hour myself as a default time.
  • 1
0 votes
1 answer
27 views

Display popup notification if date entered in column is less than 21 days

I have a column named Date of Request and its type is Date and Time. I would like to enable a warning popup message/notification when the user enters a date for a requested maintenance that is less ...
0 votes
0 answers
9 views

SharePoint Reusable Workflow Task Content Type - Due Date

I created a reusable workflow (SharePoint Designer 2013 and 2010 Platform Type) for the Task content type. I am attempting to set variable dates into the Start Date and the Due Date fields using Add ...
  • 404
0 votes
0 answers
8 views

Time restriction in sharepoint

I want to force user insert second when will add time otherwise show error message. I use this formula: [Time]=TEXT(Time/24,"hh:mm:ss") where Time is the name of column. But this does not ...
1 vote
1 answer
18 views

CALCULATED column issue

Scenario: Need to get difference between two dates (Start Date, End Date) in months, and if End Date is blank, then display "Open". I am trying: =IF(AND(ISBLANK[End Date], " ", (...
0 votes
1 answer
32 views

Adding a days to date column

I have a document library with two custom columns (Report Date) and (company name). One company name can have few different Report dates. Is there anyway we can get the highest date using Power ...
  • 525
0 votes
1 answer
151 views

PNPPowershell Add-PNPListItem date columns fail when using -Batch

Trying to take a csv file and import it into an existing SharePoint list. I started with this sample and have made some modifications for our specific case. The example uses New-PnPBatch and Invoke-...
  • 2,879
0 votes
1 answer
50 views

Conditional Duration Column in SharePoint Online

We have a SPO list with a metadata column named Status of type choice that contains the following values: Opened Closed Re-opened We want to create another column called Case Duration that will ...
0 votes
0 answers
21 views

Work Day Calculation

I have a field which calculates the number of minutes between two different times and dates. It excludes weekends for me as well. My team is wanting to take this one step further and modify it to only ...
0 votes
2 answers
76 views

Date and Time Calculation in Sharepoint Excluding Weekends and displayed in minutes

The code below is working well to calculate the time between two dates and excluding weekends. However, I would like to modify it to just return the number of minutes in number format so I can do some ...
0 votes
1 answer
22 views

I want to look at 2 date & time fields and compare that to now to return a status

We have locations that are open or closed for the day. I want to create a list that has a status column that says if that location is open or closed based on two other date and time fields. Example 1: ...
0 votes
2 answers
60 views

Using calculated value columns using date

I have a SharePoint list that has the following columns: I'm having a hard time making this. I want to make the Status column a calculated value dependent on departure and return. I want to show if ...
  • 1
1 vote
1 answer
46 views

Calculated Column to show only Month and Year from formula results?

As is, the formula below works perfect for my project. However, I would like to spice it up by having the results just display the Month and the Year of the "Next Test Date". Also, is there ...
1 vote
1 answer
39 views

SharePoint List - Column Validation

I want to write 2 formula to validate below conditions: I have 3 columns in SharePoint list: Date of Booster (Date field) Is resident in Hospice? (Yes/No Field) Date Admission at Hospice (Date Field) ...
1 vote
2 answers
931 views

SharePoint Online List - days between two date columns

I've got a very simple formula to calculate the number of days between two dates which works, with one exception. Formula: =IF(ISBLANK([Completed Date]),"TBC",[Completed Date]-[Created Date])...
0 votes
1 answer
783 views

Calculate the difference between current day and date column in years

I have a column StartDate and I want to calculate the time difference in years from that date to the current day. For example: My start date of work is 4/19/2016, it will be 5 years until 4/19/2022 ...
  • 107
0 votes
2 answers
232 views

Calculated column difference between two dates considering Today

I have a calculated column to determine the number of days between Introduction call date and Today's date. It works fine as long as the introduction call date is less or equal to Today's date but ...
0 votes
0 answers
50 views

Trying to upload the date type from excel to SharePoint list column

I am trying to upload date column value in SharePoint list column of "date and time" type. The below image of excel data: The "Date of Commissioning" value upload in SharePoint ...
  • 45
1 vote
1 answer
389 views

Calculated Column Based off of a Date & Time Field

I have a field called "Onboarding Date" which is a Date & Time field. I want to create a new field called "RetentionDate" which will be a date 1 year later than the users input ...
  • 107
0 votes
1 answer
1k views

Update item in a SharePoint list from another SharePoint list

I have two SharePoint lists: List A and List B. Both lists have a column with a special number called VHE (text column) and a column Date. The Date column in List B is still empty and I would like to ...
0 votes
1 answer
1k views

What format does the 'Base Time' field in the 'Convert time zone' action expect?

I am successfully converting: 12/25/2021 09:00:00 AM (Brisbane Time) to UTC time, output in the [u] format, ie: 2021-12-24 23:00:00Z using the Convert time zone action. Question You can see that ...
0 votes
1 answer
176 views

Add st, nd, rd and th (ordinal) suffix (e.g. July 20th, 2021) in "Send an email (V2)" action - Power Automate

Is it possible to add suffix (ordinal) in email body of "Send an email (V2)" action in power automate? Expected Date format - "July 20th, 2021". I am trying to add suffix "st, ...
0 votes
1 answer
570 views

Calculate Days, Hours and minutes between two different dates and times

I have a SharePoint list with two date columns. I want to create calculated column which gives the number of days, hours and minutes between these two dates. I have looked at all possible threads, but ...
0 votes
2 answers
380 views

Modern SharePoint - Date field not getting saved

Facing an issue with the Date fields in Modern SharePoint. When I type in the date or select a date and then change the year (by manually editing in the input box), it does not get saved. It used to ...
  • 1,454
0 votes
2 answers
158 views

Change date settings in the Sharepoint Online Admin Centre to DDMMYY

I'd like to change the date format settings for the Sharepoint Admin Centre. Currently the date is displayed using US MMDDYY (which for me is illogical), to the settings used by most of the world, ...
  • 2,329
1 vote
2 answers
930 views

How to filter items with a date range using query parameters of Render list data as stream rest api? [closed]

Microsoft Documentation is providing filter operator which takes greater than, less than or equal to but it is working? RenderListDataAsStream URI parameters The documentation says we can use filterOP,...
1 vote
2 answers
50 views

Hiding formula on new entry form gives wrong today date

I have a list column with a date field that I hide when a new item is created. =if([$Status]=='Pending', 'false', 'true') The date field is set to default value i.e. "today's date". When I ...
  • 11
1 vote
2 answers
39 views

Multiple IF statement in one calculated column

I have tried everything, can someone help me with this? =IF(ISBLANK([Date1]),DATEDIF([Created],[Date2],"d"),IF(NOT(ISBLANK([Date1),DATEDIF([Date1],[Date2],"d")))) It keeps saying ...
0 votes
2 answers
306 views

How to determine if date field is empty or not?

I am creating Workflow using SharePoint designer to send the email notification if the date field (revise date) is empty. I just cant find anything to check if the date field is empty? Can you please ...
  • 525
0 votes
1 answer
57 views

Create Flow condition: If column "End_date" is less than 7days from column "Start_Date", then

I have two "Date & Time" type columns: Start_date and End_date I would like to create a manual triggered Flow (already have button writen in JSON in place) that compares them and: if ...
  • 23
0 votes
2 answers
527 views

Created and Modified Time of ITEM in SharePoint List required in Milliseconds

Is there a way of retrieving the created and modified time in Seconds and Milliseconds? Currently in the SharePoint list it seems it only gives u the dates like this 2021-02-08 17:23. What I need is ...
1 vote
0 answers
84 views

Date time column value is off by one hour

SharePoint showing one hour less in UI in one site collection and correct value in another site collection and both site collections/sites having same regional settings and programmatically it is ...
1 vote
2 answers
101 views

Calculated column for differences between two column dates with blank check if blank use another column for difference - Sharepoint list

I am trying to create a calculated column which shows the number of days' difference between two columns which have dates in them. I understand that I can get this with the following formula: =DATEDIF(...
2 votes
1 answer
215 views

Calculated field for date columns, if date1 has a date use it, else if date2 has a date use it, else use date3

I am working on building a calculated field using 3 date columns on a list and I am having difficulties due to being 3 dates and If/Else. Basically it should calculate a date based on if date1 is not ...
1 vote
1 answer
132 views

Calculated column, if box is checked then date+6 month if not date+3 month

I have a SharePoint list with 3 fields: Date: the user enter the info Prolongation: Checkbox Second date: this is a calculated column. This is what I want: if the "prolongation" box is ...
0 votes
1 answer
46 views

Sharepoint Restrict duplicate entry in List

Guys Required support for below scenario. I have one list for booking with date and time. I want to restrict the duplicate entry by date and time. I have tried the REST API code but it's not working. ...
  • 1
0 votes
1 answer
1k views

Complex Nested If Statement when using Format columns in SharePoint online

I am trying to format a column with a complex nested if statement but the column is ignoring the first if statement and only seeing the second. I have been trying to tweak this, but I can't get it to ...
0 votes
1 answer
377 views

List Dates Off by One Day

I am having issues with dates in a SharePoint 2013 list. At a high level I am archiving the dates of the selected item in List1, storing them in List 2. The dates in the selected item are updated to ...
  • 75
0 votes
1 answer
112 views

Caml Query | How to copy today's list items from one SharePoint online list to another in batches?

I am trying to write a Caml Query to get only today's list items and then later copy it into the new list. I am using the batch method to copy data from source list to destination. source list gets ...
1 vote
3 answers
875 views

Conditional Formatting ( Color Coding) a date field

I am using the JSON Script below to create a list where records with Expiration date 10 days from @now will highlight RED; 20 Days from @ now will Highlight Yellow, and 60 Days From @ now will ...
0 votes
1 answer
171 views

Sharepoint list: How can I calculate difference between two dates without Fridays and Saturdays

I need a formula that can calculate difference between 2 dates without calculating Fridays and Saturdays. I need to use this formula to create a calculated column in list. Thank you
0 votes
1 answer
23 views

SP2013: Form ideas for picking multiple non-consecutive dates

Hi:I have a "building access request" list on which an employee requests access to our building for the months ahead. One requirement is to allow users to enter multiple dates, even non-...
0 votes
1 answer
248 views

SharePoint conditional formatting rule only available for date, how to include time in the rule?

I'm new to SharePoint. I have a SP list for my schedule. I have overdue column that I would like to change background color based on Datetime column and status. The two column are Deadline and Status. ...
1 vote
1 answer
2k views

color formatting a date column

I'm very new at list formatting. I've created a new list and are trying to get the columns to turn red/green/yellow depending on the date that you put in to the date-column. I want the column to turn: ...
  • 11
0 votes
1 answer
133 views

List Date/Time column only shows times as "12:00"

I have a list that has a date/time field, which is set to display date and time (not Date Only). However, whenever times are captured in this field, the time always shows "12:00". Is there ...
  • 154
2 votes
1 answer
75 views

why returned date from version history is different from actual date (triggerbody)

It seems the SP data repository and front-end SP list use two different timezones. when I get a date from version history it is different from what is actually shown in the SP list, how can I fix this?...
0 votes
1 answer
234 views

Calculate the difference between two dates in hours and minutes

In SP online in a list, I have a formula that calculates the difference between two dates and outputs the result in Days+Hours+Min. I was wondering if it's possible to obtain the results only in Hours ...
0 votes
1 answer
200 views

Calculating business days between dates and allowing a negative number

I have some working code that calculates business days between two dates: =(DATEDIF([Date Submitted],[Start Date],"D"))-INT(DATEDIF([Date Submitted],[Start Date],"D")/7)*2-IF(...
  • 1
0 votes
2 answers
34 views

Calculated Filed

I have created a calculated filed to convert a date field to another format, the issue I have is the calculated filed populate data for empty fields as well. Is there anyway it can only populate data ...
  • 525
1 vote
2 answers
633 views

Date Column Validation - Check if Date is less than 10 days from Today

I have created a column named Departure Schedule and its type is `Date and Time. However, I need to check that the Departure Schedule should not be less than 10 days from Today(). Is it possible to ...

1
2 3 4 5
11