Skip to content

Commit bed2041

Browse files
docs: OpenXML.get_Created ( Fixes #23 )
1 parent 7c29864 commit bed2041

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Types/OpenXML/get_Created.ps1

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<#
2+
.SYNOPSIS
3+
Gets OpenXML creation time
4+
.DESCRIPTION
5+
Gets the time an OpenXML file was created, according to core document metadata.
6+
.EXAMPLE
7+
Get-OpenXML ./Examples/Blank.docx | Select-Object -ExpandProperty Created
8+
#>
9+
param()
10+
$this.Parts.'/docProps/core.xml'.content.coreProperties.created.innerText -as [DateTime]

0 commit comments

Comments
 (0)