FECHAS

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: FECHAS

Re: FECHAS

Post by A_AhkUser » 20 Jul 2019, 10:10

Por favor, me alegra saber que puede ser útil!

Saludos

Re: FECHAS

Post by ladyduam1515 » 29 Jun 2019, 12:37

@A_AhkUser Hola, este post fue muy util, mil gracias!!!

Re: FECHAS

Post by noe samaniego » 11 Jul 2017, 16:35

hahaha lo siento xd no me di cuenta de las mayusculas . pero muchas gracias !! funciono de maravilla ahora podre seguir avanzando

no se como responder a tu cometario , soy nuevo por aqui

Re: FECHAS

Post by A_AhkUser » 11 Jul 2017, 16:01

Hola,

Es la primera vez que trabajo con las fechas y FormatTime, y por eso no puedo decir si el codigo abajo es reliable aunque me parece funccionar:

Code: Select all

var1 = ; quedando esta variable vacia hace que la operacion en la linea siguiente utilice la fecha de hoy
var1 += -6, days ; sustrae 6 dias al la fecha de hoy
FormatTime, var1, % var1, dd-MM-yy ; para que la fecha aparezca el el formato diadia-mesmes-anoano
MsgBox, %var1%
referencia: FormatTime; EnvAdd

Suerte!


[EDIT] de paso ¿tienes un problema con el BloqMayús o que? :lol:

FECHAS

Post by noe samaniego » 11 Jul 2017, 15:12

QUISIERA SABER SI ALGUIE PUEDE AYUDARME
NECESITO HACER QUE ME IMPRIMA LA FECHA PERO NO LA FECHA DEL DIA ACTUAL , SI NO QUE POR EJEMPLO HOY ES DIA 11-07-17 QUIERO RESTARLE 5 DIAS Y ME IMPRIMA 06-07-17 , GRACIAS

Top