/www.cppreference.com/wiki/tr/chrono/c/asctime
#! | 56 lines | 51 code | 5 blank | 0 comment | 0 complexity | 0ac8bccee774eef73fe9942c983df283 MD5 | raw file
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="tr" 4 lang="tr" dir="ltr"> 5<head> 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 7 <title>tr:chrono:c:asctime</title> 8<meta name="generator" content="DokuWiki" /> 9<meta name="robots" content="index,follow" /> 10<meta name="date" content="2010-11-08T13:10:21-0800" /> 11<meta name="keywords" content="tr,chrono,c,asctime" /> 12<link rel="search" type="application/opensearchdescription+xml" href="http://www.cppreference.com/wiki/lib/exe/opensearch.php" title="C++ Reference" /> 13<link rel="start" href="../../../../index.html" /> 14<link rel="contents" href="http://www.cppreference.com/wiki/tr/chrono/c/asctime?do=index" title="İndeks" /> 15<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="http://www.cppreference.com/wiki/feed.php" /> 16<link rel="alternate" type="application/rss+xml" title="Current Namespace" href="http://www.cppreference.com/wiki/feed.php?mode=list&ns=tr:chrono:c" /> 17<link rel="alternate" type="text/html" title="Plain HTML" href="http://www.cppreference.com/wiki/_export/xhtml/tr/chrono/c/asctime" /> 18<link rel="alternate" type="text/plain" title="Wiki Markup" href="http://www.cppreference.com/wiki/_export/raw/tr/chrono/c/asctime" /> 19<link rel="canonical" href="asctime" /> 20<link rel="stylesheet" media="screen" type="text/css" href="../../../lib/exe/css.php@t=custom1&tseed=1289693594" /> 21<link rel="stylesheet" media="all" type="text/css" href="../../../lib/exe/css.php@s=all&t=custom1&tseed=1289693594" /> 22<link rel="stylesheet" media="print" type="text/css" href="../../../lib/exe/css.php@s=print&t=custom1&tseed=1289693594" /> 23<script type="text/javascript" ><!--//--><![CDATA[//><!-- 24var NS='tr:chrono:c';var JSINFO = {"id":"tr:chrono:c:asctime","namespace":"tr:chrono:c"}; 25//--><!]]></script> 26<script type="text/javascript" charset="utf-8" src="../../../lib/exe/js.php@tseed=1289693594" ></script> 27</head> 28<body> 29<div class="dokuwiki export"> 30 31<h2 class="sectionedit1"><a name="asctime" id="asctime">asctime</a></h2> 32<div class="level2"> 33 34<p> 35Sözdizimi: 36</p> 37<pre class="cpp code cpp"> <span class="co2">#include <ctime></span> 38 <span class="kw4">char</span> <span class="sy2">*</span><span class="kw3">asctime</span><span class="br0">(</span> <span class="kw4">const</span> <span class="kw4">struct</span> <span class="kw4">tm</span> <span class="sy2">*</span>ptr <span class="br0">)</span><span class="sy4">;</span></pre> 39<p> 40 41<strong>asctime()</strong> fonksiyonu 'ptr' yapısında tutulan zaman bilgisini aşağıdaki biçime uygun olarak, karakter dizisine çevirir: 42</p> 43<pre class="cpp code cpp"> haftanın_günü ay tarih saat<span class="sy4">:</span>dakika<span class="sy4">:</span>saniye yıl</pre> 44<p> 45 46Örnek: 47</p> 48<pre class="cpp code cpp"> Mon Jun <span class="nu0">26</span> <span class="nu0">12</span><span class="sy4">:</span><span class="nu8">03</span><span class="sy4">:</span><span class="nu0">53</span> <span class="nu0">2000</span></pre> 49<p> 50İlgili Başlıklar: <a href="http://www.cppreference.com/wiki/tr/chrono/c/clock" class="wikilink2" title="tr:chrono:c:clock" rel="nofollow">clock</a>, <a href="http://www.cppreference.com/wiki/tr/chrono/c/ctime" class="wikilink2" title="tr:chrono:c:ctime" rel="nofollow">ctime</a>, <a href="http://www.cppreference.com/wiki/tr/chrono/c/difftime" class="wikilink2" title="tr:chrono:c:difftime" rel="nofollow">difftime</a>, <a href="http://www.cppreference.com/wiki/tr/chrono/c/gmtime" class="wikilink2" title="tr:chrono:c:gmtime" rel="nofollow">gmtime</a>, <a href="http://www.cppreference.com/wiki/tr/chrono/c/localtime" class="wikilink2" title="tr:chrono:c:localtime" rel="nofollow">localtime</a>, <a href="http://www.cppreference.com/wiki/tr/chrono/c/mktime" class="wikilink2" title="tr:chrono:c:mktime" rel="nofollow">mktime</a>, <a href="time" class="wikilink1" title="tr:chrono:c:time">time</a> 51</p> 52 53</div> 54<!-- EDIT1 SECTION "asctime" [2-] --></div> 55</body> 56</html>