You are here

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

Same name and namespace in other branches
  1. 6 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 346

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']);
}