AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Format von Now

Ein Thema von Muellermilchtrinker · begonnen am 29. Mai 2010 · letzter Beitrag vom 29. Mai 2010
 
Benutzerbild von Muellermilchtrinker
Muellermilchtrinker

Registriert seit: 1. Aug 2009
447 Beiträge
 
Delphi 2009 Professional
 
#1

Format von Now

  Alt 29. Mai 2010, 18:26
Hallo DP,

Ich formatiere so die Zeit:
Label1.Caption := TimeToStr(Now); Nun bekomme ich es so formatiert:
Code:
12:01:30
Ich möchte es aber so formatiert:
Code:
12:01
Wie kann ich das jetzt so formatieren.

Und:

Datum formatiere ich so:
Label1.Caption := DateToStr(Now); Wie bekomme ich so eine Formatierung hin:
Code:
Montag, 01. Juni
Wäre nett, wenn ihr mir helfen könnt.
Chuck Norris doesn't need backups. He just uploads his files and lets the world mirror them.
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:05 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz