本文整理汇总了PHP中getBulan函数的典型用法代码示例。如果您正苦于以下问题:PHP getBulan函数的具体用法?PHP getBulan怎么用?PHP getBulan使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getBulan函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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;
}
示例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;
}
示例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;
}
示例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
示例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;
}
示例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;
}
示例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;
}
示例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 . '';
}
}
示例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;
}
示例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;
}
示例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';
}
},
示例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>
示例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) {
示例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">