suse man page for dmi_get_date

Query: dmi_get_date

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DMI_GET_DATE(9) 						Firmware Interfaces						   DMI_GET_DATE(9)

NAME
dmi_get_date - parse a DMI date
SYNOPSIS
bool dmi_get_date(int field, int * yearp, int * monthp, int * dayp);
ARGUMENTS
field data index (see enum dmi_field) yearp optional out parameter for the year monthp optional out parameter for the month dayp optional out parameter for the day
DESCRIPTION
The date field is assumed to be in the form resembling [mm[/dd]]/yy[yy] and the result is stored in the out parameters any or all of which can be omitted. If the field doesn't exist, all out parameters are set to zero and false is returned. Otherwise, true is returned with any invalid part of date set to zero. On return, year, month and day are guaranteed to be in the range of [0,9999], [0,12] and [0,31] respectively.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 DMI_GET_DATE(9)
Related Man Pages
hdate_struct(3) - debian
mktime(3) - php
cal_from_jd(3) - php
datetime.setdate(3) - php
html::formfu::deflator::compounddatetime(3pm) - debian
Similar Topics in the Unix Linux Community
Getting command output to putty window title.
Grant unprivileged user rights to see the output of echo|format but not modify disks
Update kernel Linux without reboot?!
A (ksh) Library For and From UNIX.com
The Future of the PM (Private Message) System at UNIX.com