Questions tagged [modified-date]

26 questions
43
votes
5 answers

Finding modified date of a file/folder

I am very new to PowerShell, and I was hoping I could get some help creating a script that tells me the modified date of a file. I wish I knew more about PowerShell, as I feel like I am asking a lot (all my free-time this week will be dedicated to…
Seth Little
  • 481
  • 1
  • 4
  • 5
42
votes
6 answers

How can I get the assembly last modified date?

I want to render (for internal debugging/info) the last modified date of an assembly, so I'll know when a certain website was deployed. Is it possible to get it through reflection? I get the version like…
juan
  • 80,295
  • 52
  • 162
  • 195
4
votes
4 answers

Why is Java (Android?) setting my file's last modified date to tomorrow?

I'm creating files in my Android application using: FileOutputStream fos = context.openFileOutput(fileName, Context.MODE_PRIVATE); fos.write(data); fos.flush(); fos.close(); Then later I'm trying to do some cleanup, so I'm comparing the last…
Christopher Perry
  • 38,891
  • 43
  • 145
  • 187
2
votes
2 answers

Woocommerce how to sort products by "last modified" date?

So here is my link: https://snake.cl/shop/?orderby=date This shows products by date created. The problem I have is that I update the inventory of products and I would like them to show as if "new" or "now available". So if I could sort by last…
Mikebb
  • 61
  • 8
2
votes
1 answer

Microsoft Access Last modified date

I need to know when I last modified my database on microsoft access, but because I opened it today, it had changed the date. Is there a way to find out when I last modified it before hand?
2
votes
0 answers

Fluent NHibernate ModifiedDate Version Convention

I am trying to create a fluent Nhibernate automap convention for all the modifiedDate property of my application where it should set the value to get the current date during UPDATE. I am trying the following and its not working. I want the SQL…
Robi
  • 287
  • 4
  • 11
1
vote
2 answers

How do I check in a file without changing the modified timestamp?

I am using the SharePoint CSOM with a C# desktop application and am trying to check-in a file to a document library that has the "Require check out" setting enabled. I want the modified timestamp to stay the same (not updated). After the check-in, I…
Steve
  • 165
  • 1
  • 13
1
vote
0 answers

Get online hosted pdf document modified date vba excel

I am somewhat new to VBA and have done hours of research to see if it is possible to get the created or last modified date of a PDF document that is hosted online. From a thread I found the FileDateTime function could possibly work however there is…
dcodez123
  • 11
  • 3
1
vote
1 answer

Update last modified date column

I have a table like this: id name modified 11 John 2016-07-12 15:49:45 22 Abraham 2016-07-12 15:52:03 I need to update the 'modified' column which tracks the last modified date for a row. I have done this using a trigger, but have read…
1
vote
3 answers

Batch forfiles failing to move specified files

forfiles /D +12/1/%2 /C "cmd /c if /I @FDATE LEQ 12/31/%2 move @file %3\Archive\12-%2 >NUL" The forfiles is supposed to be targeting all files with last modified dates between 12/1/2015 and 12/31/2015 (including the 1st and 31st), and moving them…
LostInTheSauce
  • 207
  • 1
  • 3
  • 6
1
vote
1 answer

How to Display Modified Time and Modified By Fields Correctly with Powershell

I have a script that outputs to CSV all items/files from all Lists and Libraries. In addition, it displays the current and previous versions of an item/file. This also displays which user modified the file for each version and also displays the…
Nina G
  • 269
  • 5
  • 17
1
vote
2 answers

wordpress change last modified date of the post to post date (scheduled post)

I have an idea to change the value of post_modified, so the value will have the same value with the post_date. But Wordpress has a revision system, so I want to change the post_modified on the revision to have a same value with post_date. Here is my…
Andi R
  • 112
  • 2
  • 13
1
vote
2 answers

VBScript that Moves modified files to another folder

Basically, I need a script to move files to another folder that have been accessed and modified. I'm new to scripting, so this may be a simple problem, but I'm stumped. Here's the error I'm getting: Script:…
bmac423
  • 15
  • 1
  • 4
0
votes
1 answer

How to capture last modified date of all the tables in PGSQL

How can we capture modified dates for all the tables in PGSQL (apart from writing data triggers on each table for inserts /deletes).Can we do it at a generic level for all the tables using event triggers. for eg: the below query captures modified…
dpsg
  • 1
  • 2
0
votes
1 answer

Dynamic Office Script date for modified row

I am trying to get the date a row was modified inserted into a Modified Date column for that particular row using Office Scripts for Excel Online. This is the closest I can get since I haven't found scripts that that get just the modified row which…
WixLove
  • 73
  • 1
  • 12
1
2