Time 屬性

Time屬性是目前以小時、分鐘和秒為單位的時間,以 HH:MM:SS 格式為 24 小時制的常值文字字串。 例如,下午 6:57 代表時間 「18:57:00」。 值的格式取決於使用者的地區設定,而且是使用 GetTimeFormat 函式搭配 TIME_FORCE24HOURFORMAT 取得的格式 |TIME_NOTIMEMARKER選項。 這個屬性的值是由 Windows Installer 設定,而不是套件作者。

備註

因為這是文字字串,所以無法在條件運算式中使用。

規格需求

需求
版本
Windows Server 2012、Windows 8、Windows Server 2008 R2 或 Windows 7 上的 Windows Installer 5.0。 Windows Server 2008 或 Windows Vista 上的 Windows Installer 4.0 或 Windows Installer 4.5。 Windows Server 2003 或 Windows XP 上的 Windows Installer。 如需 Windows Installer 版本所需的最低 Windows Service Pack 相關資訊,請參閱 Windows Installer Run-Time需求

另請參閱

屬性