Questions tagged [date]

154 questions
0
votes
1 answer

Query Network Client Date

Question: Is there a way to ping or query the date of a client linux computer for the purpose of verifying time synchronization? Setup: I have two computers on a network. One linux machine (machine A) is a chrony server that is synchronizing its…
aerotec88
  • 3
  • 3
0
votes
3 answers

Properly setting date on Linux machines

I am trying to set the system date on my linux machine. If it matters, it is an Amazon EC2 machine that I provisioned. I tried to set the date with this command: sudo date -s "19 APR 2018 11:14:00"; However the date does not stay set for long; when…
0
votes
3 answers

How do I change the date in Google Cloud Container-Optimized OS?

I try to set date: sudo date -s "28 OCT 2018 15:00:00" but before I need to disable NTP timedatectl set-ntp false Google Cloud Container-Optimized OS doesn't have timedatectl util -bash: timedatectl: command not found But which util is return my…
Max Mabius
0
votes
2 answers

Fail to set EEST timezone

I have a server which is set to EEST timezone (East European Summer Time). I'm trying to configure another server to this timezone, but I fail to find appropriate timezone in /usr/share/zoneinfo Any ideas?
alnet
  • 128
  • 4
0
votes
1 answer

SCCM WQL Query Structure BIOS release date

So with this whole Meltdown and Spectre causing a huge fuss world wide. I have discovered a solution to mass deploy BIOS updates. The one thing is when checking compliance I am unable to locate anything that is different but the same for all models.…
Eryper
  • 15
  • 5
0
votes
0 answers

Different format of date is valid in query string on different VMs with the same regional settings

I deployed .NET application hosted on IIS on two different VMs with Windows Server 2016 on them, the code is exactly the same. However on one machine the date in query string 30/01/2018 is parsed properly on the other it caueses HTTP 500, on this…
Yoda
  • 191
  • 1
  • 7
0
votes
0 answers

Cron with dynamic date on parameter not executing

I have the following command that works well when I execute it manually : sendreport --date_start=`date +%Y-%m-19 -d "-1 month"` --date_end=`date +%Y-%m-19` --to=myemail@mydomain.ch My problem is when I execute the same command via cron task,…
0
votes
1 answer

Wrong date on mails when searching on iPhone after Exchange migration

After a colleague of mine migrated Exchange for a customer from Exchange on a small business server to Exchange 2016 the dates are messed up when searching. When a user just browses his or her email on their phone, all dates are correct. But when…
Harald
  • 31
  • 5
0
votes
2 answers

rsync logfile starts to include litteral date format in path

I created a backup-shell that runs as a cron job. That's not new.... But in the command line I have the logfilename specified with a date format. All is ok, until it reaches the folder where the logfile resides. It creates a folder witha that name…
0
votes
1 answer

Add Calendar Option to Jasper Report

I spun up a Jasper Reports server (version 6.3) and I'm migrating reports from our old server (5.0.0). Some of the reports in the old instance have options for date ranges. In the 5.0.0 instance users can can click a 'calendar icon' and select…
jrd1989
  • 698
  • 15
  • 48
0
votes
1 answer

'date' on SLES 12 SP2 instantly reset

I'm attempting to test my system monitoring by temporarily disabling NTP and using "date -s '5 minutes ago'" to change time enough to trigger my alerts. This test works fine on SLES 11 and SLES 12 SP1. On SLES 12 SP2 the date command reverts within…
Minus Ex
  • 1
  • 1
0
votes
1 answer

Date format conversion to epoch using gawk ( awk )

I want to convert dates in a file to epoch time. A sample csv looks like this: $ cat test.jtl 2016/09/19 00:31:17.080,238,test1 2016/09/19 00:31:17.154,322,test2 22-Sep-2014 10:32:35.012,222,test3 I have tried the following , but the result…
user376778
  • 9
  • 1
  • 2
0
votes
1 answer

which table should I query for date & time in zabbix?

i need to query date and time in zabbix server. which table exactly stores these 2 parameters? Actually there is a table named history and there are two fields in that table named "clock" and "ns", but their formats is too odd and i cannot extract…
0
votes
1 answer

How do I force a date/time format for traffic captured with tshark using "-T fields"?

I'm capturing traffic with tshark into a CSV file using "-T fields", but whatever I try I can't get a nice ISO date or even changing the timezone to UTC. The command I'm using is tshark.exe -i 2 -c 1 -T fields -e frame.time This gives me Capturing…
lpacheco
  • 157
  • 2
  • 9
0
votes
2 answers

Setting the system date to a day in the past on Windows 2012

I have an business application that uses the system date for all of it's date processing. We need to be able to fix the date to a particular date, and at midnight, reset the date back to this fixed date. This was all possible in Windows Server…
AdCar
  • 37
  • 1
  • 1