Hello,
How do i translate datevalues in unix to normal dates.
and how do i translate normal dates in to datevalues.
I'm using the unix-date.
Sample:
1067949360 to 4-11-03 12:36
and
4-11-03 12:36 to 1067949360
I want to built a script with a question to the user: give in date... (4 Replies)
hello gurus,
i want a perl/shell script which once invoked should convert a set of EPOCH timestamps to local time ( IST..i want) .
how does it work ,i have an idea on that..but writing a perl/shell script for it is not possible for me...so i need help for the same.
my exact requirement is... (2 Replies)
1. The problem statement, all variables and given/known data:
I have standard web server log file. It contains different columns (like IP address, request result code, request type etc) including a date column with the format .
I have developed a log analysis command line utility that displays... (1 Reply)
Hi,
We have a server in US and hence while the command "date" is given it gives the output in EDT. If I want the date output in MET, how can I get it. Please let me know how I could do it in the script which is ksh. Thanks. (1 Reply)
Hi all,
I'm after some help with this small issue which i'm struggling to work out a fix for.
I have a file that contains records that all have a time stamp for each individual record, i need to search the file for a specific time stamp and then search back 10 seconds to see if the number... (2 Replies)
Hello All,
I have a requirement to convert a 12 hour format to 24 hour time format and the sample input /out put is below
Input Time format : Nov 2 2011 12:16AM
Out Put Format : Nov 2 2011 0:16
Input : Nov 2 2011 4:16PM
Out Put: Nov 2 2011 16:16
I have done this using a... (6 Replies)
Hi
Summary:
- Script will take 2 arguments
- Argument 1: Date/Time value in a particular format
- Argument 2: TimeZone value
Examples:
Argument 1:
a. "May 11, 2012 08:00:00 AM"
b. "Dec 21, 2012 12:21:12 PM"
c. "Oct 2, 2012 05:00:00 PM"
Argument 2:
a. MT or MST or MDT
b. ET
c.... (4 Replies)
I have a cluster of two Solaris server (veritas cluster). one working and the other is standby
I am going to change the date on them , and am looking for a secure solution as it is giving an important service.
my opinion is that the active one doesn't need to be restarted (if I don't change the... (1 Reply)
can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT.
System in running with solaris 10 (3 Replies)
Hi,
If I change date and time in global zone, then it will affect in non global zones.
During this process what files will get affect in non global zones and which mechanism it's using to change.
gloabl zone:Solaris 11.3 X86
TIA (1 Reply)
Discussion started by: Sumanthsv
1 Replies
LEARN ABOUT DEBIAN
marc::crosswalk::dublincore
MARC::Crosswalk::DublinCore(3pm) User Contributed Perl Documentation MARC::Crosswalk::DublinCore(3pm)NAME
MARC::Crosswalk::DublinCore - Convert data between MARC and Dublin Core
SYNOPSIS
my $crosswalk = MARC::Crosswalk::DublinCore->new;
# Convert a MARC record to Dublin Core (simple)
my $marc = MARC::Record->new_from_usmarc( $blob );
my $dc = $crosswalk->as_dublincore( $marc );
# Convert simple DC to MARC
$marc = $crosswalk->as_marc( $dc );
# Convert MARC to qualified DC instead
$crosswalk->qualified( 1 );
$dc = $crosswalk->as_dublincore( $marc );
DESCRIPTION
This module provides an implentation of the LOC's spec on how to convert metadata between MARC and Dublin Core format. The spec for con-
verting MARC to Dublin Core is available at: http://www.loc.gov/marc/marc2dc.html, and from DC to MARC:
http://www.loc.gov/marc/dccross.html.
NB: The conversion cannot be done in a round-trip manner. i.e. Doing a conversion from MARC to DC, then trying to go back to MARC will not
yield the original record.
INSTALLATION
To install this module via Module::Build:
perl Build.PL
./Build # or `perl Build`
./Build test # or `perl Build test`
./Build install # or `perl Build install`
To install this module via ExtUtils::MakeMaker:
perl Makefile.PL
make
make test
make install
METHODS
new( %options )
Creates a new crosswalk object. You can pass the "qualified" option (true/false) as well.
# DC Simple
$crosswalk = MARC::Crosswalk::DublinCore->new;
# DC Qualified
$crosswalk = MARC::Crosswalk::DublinCore->new( qualified => 1 );
qualified( $qualified )
Allows you to specify if qualified Dublin Core should be used in the input or output. Defaults to false (DC simple).
# DC Simple
$crosswalk->qualified( 0 );
# DC Qualified
$crosswalk->qualified( 1 );
as_dublincore( $marc )
convert a MARC::Record to a DublinCore::Record.
as_marc( $dublincore )
convert a DublinCore::Record to a MARC::Record. NB: Not yet implemented.
TODO
* Implement as_marc()
* add tests
SEE ALSO
* http://www.loc.gov/marc/marc2dc.html
* http://www.loc.gov/marc/dccross.html
* MARC::Record
* DublinCore::Record
AUTHOR
* Brian Cassidy <bricas@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2005 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.8.8 2007-11-24 MARC::Crosswalk::DublinCore(3pm)