当前位置: 首页>>代码示例>>PHP>>正文


PHP getBulan函数代码示例

本文整理汇总了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;
 }
开发者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


注:本文中的getBulan函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。