TIME_FIELDS_FROM_FILETIME(3) http://www.synce.org/ TIME_FIELDS_FROM_FILETIME(3)NAME
time_fields_from_filetime - convert between FILETIME and TIME_FIELDS
SYNOPSIS
#include <synce.h>
void time_fields_from_filetime(const FILETIME *filetime, TIME_FIELDS *timeFields);
bool time_fields_to_filetime(const TIME_FIELDS *timeFields, const FILETIME *filetime);
DESCRIPTION
The time_fields_from_filetime() function converts a FILETIME value into the existing broken down TIME_FIELDS struct pointed to by time-
Fields. time_fields_to_filetime() does the reverse.
typedef struct _TIME_FIELDS {
CSHORT Year; /* Specifies a value from 1601 on. */
CSHORT Month; /* Specifies a value from 1 to 12. */
CSHORT Day; /* Specifies a value from 1 to 31. */
CSHORT Hour; /* Specifies a value from 0 to 23. */
CSHORT Minute; /* Specifies a value from 0 to 59. */
CSHORT Second; /* Specifies a value from 0 to 59. */
CSHORT Milliseconds; /* Specifies a value from 0 to 999. */
CSHORT Weekday; /* Specifies a value from 0 to 6 (Sunday to Saturday). */
} TIME_FIELDS;
RETURN VALUE
The time_fields_to_filetime() function returns FALSE on encountering an invalid value, or TRUE if successful.
SEE ALSO synce(7)The SynCE Project 2007-08-26 TIME_FIELDS_FROM_FILETIME(3)
Check Out this Related Man Page
SYNCE-REMOVE-PROGRAM(1) http://synce.sourceforge.net/ SYNCE-REMOVE-PROGRAM(1)NAME
synce-remove-program - removes a program from your device
SYNOPSIS
synce-remove-program [-d LEVEL] [-p device_path] [-o UNLOAD_OPT] NAME ...
DESCRIPTION
synce-remove-program removes a program on a device connected through SynCE.
OPTIONS -d LEVEL
Set debug log level:
0 - No logging (default)
1 - Errors only
2 - Errors and warnings
3 - Everything
-p PATH
Path to device
-h Display help message.
-o UNLOAD_OPT
Flags to pass to unload.exe on the remote device. Currently no flags are known, but this flag is here in case we find some.
NAME The name of the program on the device. Program names are in the form "Provider Program". This is the same way the name will appear
under Settings -> Remove programs on your device, or in the ouput from synce-list-programs.
AUTHOR
David Eriksson <twogood@users.sourceforge.net>.
SEE ALSO synce(1)synce-list-programs(1)synce-install-cab(1)prun(1)The SynCE project November 2002 SYNCE-REMOVE-PROGRAM(1)
Is it possible to display active processes' Year,Month,Day,Hour,Minute,Second info of process start time ? Preferbly in the format "YYYY/MM/DD HH:MM:SS" ?
I tried to do this with the ps command but it only gets the time or date.
Any help will be greatly appreciated.
Cheers
Steve (4 Replies)
Hi there
There's a script I would like to run daily every 5 minutes and this job should restart every 12:03AM so it would append to a new file with the following day date format instead of running and updating continuously into one log. I am not sure of the syntaxing, what I did was to set it... (9 Replies)
My cron file. Copied $PATH
# Minute Hour Day of Month Month Day of Week Command
SHELL=/bin/ksh
PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/perl/lib:/perl/lib/lib/perl5:/perl/scripts:.:/perl/lib/local:/home/popeye:/temp
0... (3 Replies)