Obtener la fecha en cualquier idioma
Intentando obtener la forma de cambiar el idioma del Güindos produje una función no muy común que permite obtener la fecha en formato 'dddd, d "de" mmmm "del" yyyy' en cualquier idioma:
Un ejemplo:
|
Hola!!
Creo que no sería necesario crear unas funciones tan "complejas", ya que hay funciones en Delphi que creo que realizan la misma acción. Por ejemplo, quedaría más sencillo de la siguiente manera
|
Auchhhh! si es así dejo la funcion para las versiones que no cuentan con GetLocaleFormatSettings, si no para quienes desean conocer cómo funciona!
|
La franja horaria es GMT +2. Ahora son las 13:03:16. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi