Typoscript – Aktuelles Datum ausgeben

Search
  • Blog
  • About
  • Services
  • Work
  • Contact
  • News
  • Articles
  • Twitter

  • TYPO3 – Bild Qualität ändern
  • Typoscript – JavaScript im Footer auslagern
  • Typo3 – tt_news Dokument speichern und Webseite anzeigen
  • Templavoila – Maximale Bildgröße im Contentbereich
  • Typo3 – tt_news cache deaktivieren
Blog Archiv
  • Typo3 – Auslagern von Typoscript in externe Datei
  • Typo3 – Einbinden von canonical Tag
  • Typo3 – Browserweiche (Conditional Comments)
  • Typo3 – onfocus=”blurLink(this)” in Sitemaps entfernen
  • Typo3 – Sitemap target definieren
Tutorials Archiv

14th August, 2009

Typoscript – Aktuelles Datum ausgeben

0 comments

Typoscript - Aktuelles Datum ausgeben
Mit diesem TypoScript Snippsel kann man das aktuelle Datum auf einer Website darstellen. Mit der Php Funktion strftime kann man das Datum beliebig formatieren.

// TYPO3 Setup
tmp.date = TEXT
tmp.date {
data = date : U
strftime = %A, %e. %B %Y
}

Hier eine kurze Erklärung zu strftime:
%A = Sonntag bis Samstag
%e = 1 bis 31
%B = Januar bis Dezember
%Y = Jahr: 2009

Mehr dazu findet ihr auf php.net/strftime

Die strftime-Formatangabe ‘%A, %e. %B %Y’ in diesem Beispiel erzeugt eine Ausgabe des Datums im Format ‘Freitag, 14. August 2009′.

Tags: php, ts, typo3, typoscript

Kategorie typo3 | 0 comments

31st December, 2008

Open Zip Files with PHP

0 comments

ThemeForest has a nice feature; It allows the authors to upload zip files containing screenshots of their themes. A script then extracts these files and displays the images accordingly. Though I doubt that the developers used PHP to accomplish this task…that’s what we’re going to use! Here can you read the full article.

Tags: php, zip

Kategorie php | 0 comments

2nd December, 2008

Cheat Sheets For HTML,CSS, jQuery, PHP

0 comments

Cheat sheets save time and help you quickly see what other ways of coding are possible.
I have put together a little post with the top most used cheat sheets for web programming.
I will be updating this post with newer entrees (I’m sure I missed some good ones) so if you know I link to a good one please add it in the comments section. Enjoy these Cheat Sheets

Tags: cheat sheets, css, jQuery, php, xhtml

Kategorie cheat sheets | 0 comments



RSS
Follow me on Twitter

About this blog

This website was developed by Markus Bäck based in Tutzing (Starnberger See) using XHTML, CSS, JavaScript and PHP, handcoded in Notepad++. Powered by the Almighty Wordpress.

Resources

  • CSS-Tricks
  • faktor23.de
  • Smashing Magazine

Blogroll

  • Oxid Freelancer
  • TYPO3 Agentur München
  • TYPO3 Freelancer
  • TYPO3 Programmierer

Work

  • stream5 GmbH
  • Guido Schindler Delikatessen | Feinkost - Bistro - Partyservice - Starnberger See
  • ViCommerce GmbH
Copyright © 2012 just4freaks.de Designed and managed by Webdesign Starnberg