Search by modified date shows wrong results

I have a strange issue: if I search for documents that have not been modified for 2 years, I will still find documents that have been modified in 2014. Obviously, this is unexpected and unwanted.

I’ve used advanced search for this, resulting in the following query: Write<=1-1-2012

Any ideas what may cause this behavior? Thank you for your help!

Edit: I’m using sharepoint 2010 by the way…

Write $(date) Into File Using Cron and Bash Shell Script

Ubuntu 18.04 running as guest on MacOS 10.14.3. Hypervisor: VMWare Fusion 10

Objective: Every minute, append the date/time into a file

Status: Script runs every minute, inserting a blank new line into the text file. The date is not included. That is the problem

When the script is run from the command line, using the same account as the account on the crontab, the date is added to the file, no problem.

Apparent Problem: Echoing date to file works from command line, but same command from cron does not produce date

This is the script that runs every minute in cron.

#!/bin/bash target_file='/home/dan/timestamps' echo $  (date)  >>  $  target_file 

This is the cron entry

crontab -e  PATH=/bin/bash: *       *       *       *       *       /home/dan/ 

RESULTS When running three times from command line, then viewing the target file:

$   cat /home/dan/timestamps Sat Aug 17 18:31:12 CDT 2019 Sat Aug 17 18:31:33 CDT 2019 Sat Aug 17 18:31:34 CDT 2019 

Then waiting three minutes, to let it run three times in cron, then viewing the target file: (same as above, except three new blank lines after the dates.)

Problems Considered .. file permissions. To address this, here is the file as it is listed with permissions and owner:group:

-rwxrwxrwx 1 dan dan  157 Aug 17 18:43 timestamps* 

.. Script not running in cron. Resolved: script is proven to run by the fact that modified time on the file changes at the start of every minute and the file gets a new blank line at the same time.

I cannot think of an explanation for the date not being added to the file when the script is run by cron instead of the command line.

Any ideas would be appreciated.

Thank you.

change date in infopath form via javascript

I have a sharepoint 2019 site. in this site i want change date value in date field that build with infopath.

I can do this with JavaScript and all thing apparently is Ok. but when press the save button nothing change, even when i type date manually. while when i pick date from own datePicker and press Save, all thing work correct.

please help me : how can change this?

// dtcontrolId is input date id that use datePicker        var newDate = pyear + "-" + pmonth + "-" + pday; $  ("#" + dtcontrolId).val(newDate);  // after it i call OnClilck event 

Search query api to get birthday date

I am trying to use the sharepoint REST api to get all users birthdays.

So I am using a crawled property People:SPS-Birthday with the managed property RefinableDate00.

Yesterday 15/08/2019 (Thursday) it was working fine, but today when I search the users using the query:


The RefinableDate00 is empty.

I dont know why this happening, someone faced this kind of thing before?

Filtering a list by input date between ‘start date

I have a MeetingTopic list (things to discuss at a meeting), with a StartDate field and an EndDate field. I am trying to create a page that takes a date parameter (MeetingDate) and presents all topics that are valid on that date (MeetingTopic.StartDate <= MeetingDate and MeetingDate <= MeetingTopic.EndDate).

How do I set this up? I do not have access to SharePoint Designer at this location, so every answer I have after several days looking will not work.

I have added a Query String (URL) Filter to the page. I can connect it to the MeetingTopic list web part but can only seem to get it to filter as a match to a single field (StartDate = MeetingDate). How can I:

  1. get it to return records where StartDate <= MeetingDate; and
  2. get it to also filter on EndDate >= MeetingDate?

Alternately, how can I get a data input to the page and filter the list on that input date, compared to both StartDate and EndDate? Is Query String (URL) Filter the wrong approach?

Ubuntu 18.04 Desktop – date and time synchronization issue

I did a clean install of Ubuntu 18.04 LTS on my laptop a couple of days back. During installation, I chose the timezone to be my local time zone i.e., Kolkata, India (Indian Standard Time). However, after booting my system, the time and date are showing incorrect values.

Displayed values:

date: Sun Aug 11 2019 time: 06:21:xx

Actual values at that time:

date: Sat Aug 10 2019 time: 19:21:xx

Precisely, the displayed time is 11 hours ahead of the actual time.

wrong date and time

In Settings –> Date and Time, the Automatic Date and Time, and the Automatic Time Zones switches are also enabled.


I found some articles on the internet using which I tried to analyze/fix the issue (Screenshots attached).

  1. Run timedatectl

Local time: Sun 2019-08-11 06:27:44 IST Universal time: Sun 2019-08-11 00:57:44 UTC RTC time: Sun 2019-08-11 00:57:44 Time zone: Asia/Kolkata (IST, +0530) System clock synchronized: yes systemd-timesyncd.service active: yes RTC in local TZ: no

  1. Installed ntp

$ sudo dpkg -s ntp | grep Status Status: install ok installed

  1. Run sudo ntpq -p

ntpq command output

  1. Run sudo nmap -p123 -sU -P0 localhost. I think it checks the status of UDP port 123.


What should be the next steps I need to perform to fix this issue?

How to validate date in datepicker with jquery (no with validation column)

I have two datepickers in the same list but each have a diffent validation rule (in configuration of column) and the user can choice set date one or other in the form (but not required set both datepickers).

I possible set rules of datepicker validation with jquery? have example?

Example set Datepicker 1 rules to choice only sundays set Datepicker 2 rules to choice only weekdays