本文整理汇总了PHP中getBulan函数的典型用法代码示例。如果您正苦于以下问题:PHP getBulan函数的具体用法?PHP getBulan怎么用?PHP getBulan使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getBulan函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: getTglIndo
public function getTglIndo()
{
$tanggal = substr($this->getTime(), 8, 2);
$bulan = getBulan(substr($this->getTime(), 5, 2));
$tahun = substr($this->getTime(), 0, 4);
return $tanggal . ' ' . $bulan . ' ' . $tahun;
}
开发者ID:taryono,项目名称:school,代码行数:7,代码来源:AbsenceEkskul.php
示例2: tanggal
function tanggal($tgl)
{
$tanggal = substr($tgl, 8, 2);
$bulan = getBulan(substr($tgl, 5, 2));
$tahun = substr($tgl, 0, 4);
return $tanggal . " " . $bulan . " " . $tahun;
}
开发者ID:gamchantoi,项目名称:sisfo-ft,代码行数:7,代码来源:tanggal_helper.php
示例3: tgl_amerika
function tgl_amerika($tgl)
{
$tanggal = getTanggal(substr($tgl, 8, 2));
$bulan = getBulan(substr($tgl, 5, 2));
$tahun = substr($tgl, 0, 4);
return $bulan . ' ' . $tanggal . ', ' . $tahun;
}
开发者ID:4guswid,项目名称:rumahkita,代码行数:7,代码来源:fungsi_amerikatgl.php
示例4: tgl_indo5
}function tgl_indo5($tgl){ //from 2012-09-29 --> 29 Sep 2012
$tahun = substr($tgl,0,4);
$bulan = getBulan(substr($tgl,5,2));
$bulan = substr($bulan,0,3);
$tanggal = substr($tgl,8,2);
return $tanggal.' '.$bulan.' '.$tahun;
}function tgl_indo6($tgl){ //from 09 Sep 2012 --> 2012-05-09
开发者ID:nickohappy7,项目名称:sister,代码行数:7,代码来源:tglindo.php
示例5: tgl_indo
function tgl_indo($tgl)
{
$tanggal = substr($tgl, 8, 2);
$bulan = getBulan(substr($tgl, 5, 2));
$tahun = substr($tgl, 0, 4);
return $tanggal . ' ' . $bulan . ' ' . $tahun;
}
开发者ID:razordice,项目名称:balecatur,代码行数:7,代码来源:man_transaksi.php
示例6: tgl_indo2
function tgl_indo2($tgl)
{
$pisah = explode(" ", $tgl);
$tanggal = substr($tgl, 8, 2);
$bulan = getBulan(substr($tgl, 5, 2));
$tahun = substr($tgl, 0, 4);
return $tanggal . ' ' . $bulan . ' ' . $tahun . ' ' . $pisah[1];
}
开发者ID:dontinhqt,项目名称:Simple-realtime-message-SocketIO-NodeJS-CI,代码行数:8,代码来源:fungsi_indotgl_helper.php
示例7: generate_tanggal
function generate_tanggal($tgl)
{
$get = explode("-", $tgl);
$get_tanggal = explode("/", $get[0]);
$tanggal = $get_tanggal[0];
$bulan = getBulan($get_tanggal[1]);
$tahun = $get_tanggal[2];
return $tanggal . ' ' . $bulan . ' ' . $tahun;
}
开发者ID:arifh28,项目名称:siskalite,代码行数:9,代码来源:generate_tanggal_helper.php
示例8: tgl_indo
function tgl_indo($str_time)
{
$tgl = date('Y-m-d', $str_time);
$waktu = date('H:i:s', $str_time);
$tanggal = substr($tgl, 8, 2);
$bulan = getBulan(substr($tgl, 5, 2));
$tahun = substr($tgl, 0, 4);
return $tanggal . ' ' . $bulan . ' ' . $tahun . ' - ' . $waktu;
}
开发者ID:robebeye,项目名称:siakad,代码行数:9,代码来源:tgl_indo_helper.php
示例9: DateTmIndShort
function DateTmIndShort($tgl)
{
if ($tgl) {
$tgl = set_date_normal($tgl);
$tanggal = substr($tgl, 8, 2);
$bulan = getBulan(substr($tgl, 5, 2));
$tahun = substr($tgl, 0, 4);
return $tanggal . ' ' . $bulan . ' ' . $tahun . '';
}
}
开发者ID:ovarz,项目名称:cobablue,代码行数:10,代码来源:functions_datetime_helper.php
示例10: generate_tanggal
function generate_tanggal($tgl)
{
$get_tanggal = gmdate('d/m/Y-H:i:s', $tgl);
$get = explode("-", $get_tanggal);
$get_tanggal = explode("/", $get[0]);
$get_waktu = $get[1];
$tanggal = $get_tanggal[0];
$bulan = getBulan($get_tanggal[1]);
$tahun = $get_tanggal[2];
return $tanggal . ' ' . $bulan . ' ' . $tahun . ' - ' . $get_waktu;
}
开发者ID:mylinkedshare,项目名称:Advertising,代码行数:11,代码来源:generate_tanggal_helper.php
示例11: tgl_indo
function tgl_indo($tgl)
{
if (substr($tgl, 5, 1) == " ") {
$tanggal = substr("00" . substr($tgl, 4, 1), -2);
$tahun = substr($tgl, 6, 4);
} else {
$tanggal = substr($tgl, 4, 2);
$tahun = substr($tgl, 7, 4);
}
$bulan = substr($tgl, 0, 3);
$bln = getBulan($bulan);
return $tanggal . ' ' . $bln . ' ' . $tahun;
}
开发者ID:awaysyereadi,项目名称:allclass,代码行数:13,代码来源:allDate.php
示例12: site_url
<script src="<?php
echo site_url('assets');
?>
/hichart/modules/exporting.js"></script>
<script type="text/javascript">
$(function () {
$('#laba').highcharts({
data: {
table: document.getElementById('isi_laba')
},
chart: {
type: 'column'
},
title: {
text: 'Pinjaman - <?php
echo getBulan(substr($fulldate, 5, 2)) . ' ' . substr($fulldate, 0, 4);
?>
'
},
yAxis: {
allowDecimals: false,
title: {
text: 'Rupiah'
}
},
tooltip: {
formatter: function() {
return '<b>'+ this.point.name.toLowerCase() +'</b><br/>'+
this.point.y +' '+ 'Rupiah';
}
},
开发者ID:abdulghanni,项目名称:gsm,代码行数:31,代码来源:pinjaman.php
示例13: function
},
function() {
$(this).toggleClass("highlight");
}
);
});
</script>
<div id='dalam_content' align='center'>
<h2>PERAMALAN</h2>
<form action="modul/lap_peramalan/cetak.php" method="post" target="_blank">
<table>
<tr>
<td>
Bulan <?php
echo getBulan(date("m", strtotime("+1 month")));
?>
</td>
</tr>
<tr>
<td align="center">
<label>Per</label>
6 Bulan
</td>
</tr>
</table>
</form>
</div>
<div id="tampil_data1"></div>
开发者ID:phi314,项目名称:clefable,代码行数:30,代码来源:lap_peramalan.php
示例14: date
</div>
<div class="col-xs-6 col-sm-2">
<div>
<select class="form-control" name="bulan" id="bulan" style="width: 100%">
<?php
for ($i = 1; $i <= 12; $i++) {
$select = $i == date('n') ? 'selected' : '';
?>
<option value="<?php
echo $i;
?>
" <?php
echo $select;
?>
><?php
echo getBulan($i);
?>
</option>
<?php
}
?>
</select>
</div>
</div>
<div class="col-xs-6 col-sm-2">
<div>
<select name="merkid" id="merkid" class="form-control col-sm-10">
<option value="">Pilih</option>
<?php
if (count($merk) > 0) {
foreach ($merk as $value) {
开发者ID:ariswidiantoro,项目名称:klikdms,代码行数:31,代码来源:produktifitasSalesForm.php
示例15: Replace
<h3>IM Events</h3>
</header>
<section class="listing-cont">
<ul>
<?php
$replace = new Replace();
$this->db->order_by('id_event', 'desc');
$query = $this->db->get_where('event', array('publish' => 'publish'), 5);
foreach ($query->result() as $row) {
?>
<li class="item event-item">
<div class="event-date"> <span class="date"><?php
echo substr($row->tanggal, 8, 2);
?>
</span> <span class="month"><?php
echo substr(getBulan(substr($row->tanggal, 5, 2)), 0, 3);
?>
</span> </div>
<div class="event-detail">
<h4><a href="<?php
echo base_url('event') . "/" . $row->id_event . "/" . $replace->CleanUrl($row->title);
?>
"><?php
echo $row->title;
?>
</a></h4>
<span class="event-dayntime meta-data"><?php
echo $row->jam;
?>
</span> </div>
<div class="to-event-url">
开发者ID:ardiexplaine,项目名称:ina_mendidik,代码行数:31,代码来源:_event.php
示例16: mysql_fetch_object
$d_detail_kelas = mysql_fetch_object($q_detail_kelas);
$nama_kelas = $d_detail_kelas->nama_kelas;
}
while ($data = mysql_fetch_object($q_jumlah_absensi)) {
if ($data->absen == 'hadir') {
$jumlah_hadir++;
} elseif ($data->absen == 'sakit') {
$jumlah_sakit++;
} elseif ($data->absen == 'izin') {
$jumlah_izin++;
}
}
?>
<h3><?php
echo $kelas == 'empty' ? "Tingkat: " . $tingkat : "Kelas: " . $nama_kelas;
echo "<br>Bulan: " . getBulan($bulan) . "<br>Tahun: " . $tahun;
?>
</h3>
<table class="table table-striped table-hover table-bordered" id="sample_editable_2">
<thead>
<tr>
<th>Jumlah Sakit</th>
<th>Jumlah Izin</th>
</tr>
</thead>
<tbody>
<tr>
<td><?php
echo $jumlah_sakit;
?>
开发者ID:phi314,项目名称:arbok,代码行数:31,代码来源:monitoring_absensi.php
示例17: isset
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SISTER::Keu - ' . $mnu . '</title>
</head>';
// pr($_GET);
$out = $rekArr = '';
$departemen = isset($_GET['li_departemenS']) && $_GET['li_departemenS'] != '' ? ' AND departemen=' . $_GET['li_departemenS'] : '';
$tingkat = isset($_GET['li_tingkatS']) && $_GET['li_tingkatS'] != '' ? ' AND tingkat=' . $_GET['li_tingkatS'] : '';
$tahunajaran = isset($_GET['li_tahunajaranS']) && $_GET['li_tahunajaranS'] != '' ? ' AND getTahunAjaran(t.tanggal)=' . $_GET['li_tahunajaranS'] : '';
$semester = isset($_GET['li_semesterS']) && $_GET['li_semesterS'] != '' ? ' AND getSemester(t.tanggal)=' . $_GET['li_semesterS'] : '';
$bulan = isset($_GET['li_bulanS']) && $_GET['li_bulanS'] != '' ? ' AND MONTH(t.tanggal)=' . $_GET['li_bulanS'] : '';
$dept = getField('nama', 'departemen', 'replid', $_GET['li_departemenS']);
$ting = getField('tingkat', 'aka_tingkat', 'replid', $_GET['li_tingkatS']);
$thn = getField('tahunajaran', 'aka_tahunajaran', 'replid', $_GET['li_tahunajaranS']);
$sem = getField('semester', 'aka_semester', 'replid', $_GET['li_semesterS']);
$bln = getBulan($_GET['li_bulanS']);
// pr($bln);
$out .= '<body>
<table width="100%">
<tr>
<td width="39%">
<img width="100" src="../../images/logo.png" alt="" />
</td>
<td>
<b>' . $mnu . '</b>
</td>
</tr>
</table><br />';
$out .= '<table width="100%" xclass="isi">
<tr>
<td width="15%">Departemen</td>
开发者ID:rekysda,项目名称:sistermetta,代码行数:31,代码来源:r_li.php
示例18: Paging
<section id="primary" class="content-full-width">
<div class="container">
<?php
$p = new Paging();
$nov = 1;
$batas = 12;
$posisi = $p->cariPosisi($batas);
$tableevt = new PoTable('event');
$dataevents = $tableevt->findAllLimit(startevt, "DESC", "{$posisi},{$batas}");
foreach ($dataevents as $dataevent) {
$idevt = $dataevent->id_event;
$startevt = $dataevent->startevt;
$startevt = explode(' ', $startevt);
$startsth = substr($startevt[0], 0, 4);
$startshr = substr($startevt[0], 8, 2);
$startbshr = substr(getBulan(substr($startevt[0], 5, 2)), 0, 3);
$endevt = $dataevent->endevt;
$endevt = explode(' ', $endevt);
?>
<?php
if ($nov % 3 == 1) {
?>
<div class="column dt-sc-one-third first">
<?php
} else {
?>
<div class="column dt-sc-one-third">
<?php
}
?>
<!-- **Blog-post - Starts** -->
开发者ID:kevinmel2000,项目名称:phpindonesia.or.id-profile,代码行数:31,代码来源:listevent.php
示例19: count
<div class="row">
<div class="col-md-3">
</div>
<div class="col-md-3">
<div class="widget widget-default widget-item-icon">
<div class="widget-item-left">
<i class="fa fa-refresh"></i>
</div>
<div class="widget-data">
<div class="widget-int num-count"><?php
echo count($permohonan_bulan_ini);
?>
</div>
<div class="widget-title">Analisis</div>
<div class="widget-subtitle">Bulan <?php
echo getBulan(date('m'));
?>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="widget widget-default widget-item-icon">
<div class="widget-item-left">
<i class="fa fa-database"></i>
</div>
<div class="widget-data">
<div class="widget-int num-count"><?php
echo count($analisis);
?>
</div>
开发者ID:phi314,项目名称:onix,代码行数:31,代码来源:analisis_v.php
示例20: foreach
</tr>
<?php
$style = '';
foreach ($query_list->result_array() as $r) {
/*$getdep=GetValue("id_department", "employee", array("id"=> "where/".$r['id_employee']));
//print_mz($dep);
if($dep){if(in_array($getdep,$dep)){$style.='';}else{$style.='style="display:none;"'; }}*/
echo "<tr {$style} id='listz-" . $r['id'] . "' >";
echo "<td class='box_delete'><input type='checkbox' class='delete' id='del" . $r['id'] . "' value='" . $r['id'] . "'></td>";
foreach ($list as $s) {
if ($s == "title") {
$r[$s] = GetValue("title", "department", array("id" => "where/" . GetValue("id_department", "employee", array("id" => "where/" . $r['id_employee']))));
} elseif ($s == "employee") {
$r[$s] = GetValue("name", "employee", array("id" => "where/" . GetValue("id", "employee", array("id" => "where/" . $r['id_employee']))));
} elseif ($s == 'bulan') {
$r['bulan'] = getBulan($r['bulan']) . ' ' . $r['tahun'];
}
echo "<td>" . $r[$s] . "</td>";
}
echo "<td class='action'>";
hak_edit1($this->session->userdata('webmaster_grup'), $filename, 1, $r['id']);
echo "</tr>";
}
?>
</table>
</div>
</div>
</div>
<script src="<?php
echo assets_url('modules/js/attendance.js');
开发者ID:mazhters,项目名称:ci2,代码行数:31,代码来源:shift.php
注:本文中的getBulan函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论