You are here

protected function FeedsOAIHTTPFetcher::dateFieldToTimestamp in Feeds OAI-PMH Fetcher and Parser 6

Same name and namespace in other branches
  1. 7 FeedsOAIHTTPFetcher.inc \FeedsOAIHTTPFetcher::dateFieldToTimestamp()
2 calls to FeedsOAIHTTPFetcher::dateFieldToTimestamp()
FeedsOAIHTTPFetcher::fetch in ./FeedsOAIHTTPFetcher.inc
Fetch content from feed.
FeedsOAIHTTPFetcher::sourceFormValidate in ./FeedsOAIHTTPFetcher.inc
Override parent::sourceFormValidate().

File

./FeedsOAIHTTPFetcher.inc, line 334

Class

FeedsOAIHTTPFetcher
Fetcher class for OAI-PMH repository webservices.

Code

protected function dateFieldToTimestamp($field_value) {
  return mktime(NULL, NULL, NULL, $field_value['month'], $field_value['day'], $field_value['year']);
}