AnoMes

Tempo de leitura: 1 minuto

A função AnoMes em ADVPL retorna o ano e mês(AAAAAMM) de uma data passada como parâmetro. Ela é uma das funções de manipulação de data e hora em ADVPL.

Sintaxe:

AnoMes(dData)

 

Parâmetro(s):

 

Retorno:

 

Exemplo em ADVPL da função AnoMes:

/*{Protheus.doc} User Function fAnoMes
(Essa função tem por finalidade mostrar a função AnoMes em ADVPL)
@?type  Function
@?author Adilio Costa
@?since 20/01/2025
@?version 1.0
@?Inscreva-se no Blog ProtheusAdvpl:
https://www.protheusadvpl.com.br
@?Inscreva-se no Canal ProtheusAdvpl:
https://www.youtube.com/protheusadvpl
@?Siga-nos no Instagram:
https://www.instagram.com/protheusadvpl
@?Conheça os Cursos e Formações do ProtheusAdvpl:
https://cursos-e-formacoes-protheusadvpl.gr-site.com/

|Se esse conteúdo foi útil pra você nos ajude divulgando
ele e nossas redes sociais!!|

*/
User Function fAnoMes()

	Local dData := Date()
	Local cAnoMes := AnoMes(dData)

	FWAlertInfo("O anomes da data "+cValToChar(dData)+ " é:"+cAnoMes,"Função AnoMes")


Return

 

É isso aí, finalizamos mais um post aqui no Blog ProtheusAdvpl, caso tenha ficado alguma dúvida deixe seu comentário ou nos envie um e-mail para adiliocosta@protheusadvpl.com.br. Até um próximo post. Grande abraço e fica com Deus.

 

Link(s) de referência:

Receba as últimas atualizações do ProtheusAdvpl
Deixe seu melhor email
Nós respeitamos sua privacidade.

212 Comentários


  1. Your blog post was a real eye-opener for me. Thank you for challenging my preconceived notions and expanding my worldview.


  2. I just wanted to say how much I enjoyed reading your blog post. It’s rare to find such well-researched content that’s also a pleasure to read.


  3. Your blog post was so thought-provoking. It’s rare to find content that challenges me to think deeply about important issues.


  4. I stumbled upon your blog post by accident, and I’m so glad I did! It’s rare to find such high-quality content online these days.


  5. I’ve never commented on a blog post before, but I couldn’t resist after reading yours. It was just too good not to!


  6. Your blog post was a much-needed reminder to slow down and appreciate the little things in life. Thank you for the dose of positivity!


  7. Your blog post was like a crash course in [topic]. I feel like I learned more in five minutes than I have in months of studying.


  8. Your blog post was so relatable – it’s like you were reading my mind! Thank you for putting my thoughts into words.


  9. I’ve been following your blog for a while now, and your latest post certainly didn’t disappoint. Keep up the excellent work!


  10. Your blog post was like a breath of fresh air. Thank you for reminding me to slow down and appreciate the beauty of life.


  11. Your blog post was exactly what I needed to read right now. It’s amazing how you always seem to know just what to say.


  12. Your writing always leaves me feeling uplifted and empowered. Thank you for being such a positive influence.


  13. I can tell that you put a lot of time and effort into crafting this blog post. It definitely paid off – it’s fantastic!


  14. Your blog post was so thought-provoking. It’s rare to find content that challenges me to think deeply about important issues.


  15. I’ve been following your blog for a while now, and your latest post certainly didn’t disappoint. Keep up the excellent work!


  16. Your blog post was a real eye-opener for me. Thank you for challenging my preconceived notions and expanding my worldview.


  17. Your blog post was exactly what I needed to hear today. Thank you for the gentle reminder to practice self-care.


  18. Your blog post was like a crash course in [topic]. I feel like I learned more in five minutes than I have in months of studying.


  19. I’ve been struggling with this issue for a while now, and your blog post provided some much-needed clarity. Thank you for shedding light on the subject.


  20. Your blog post was the highlight of my day. Thank you for brightening my inbox with your thoughtful insights.


  21. Your blog post is a breath of fresh air in a sea of mediocre content. Thank you for raising the bar!


  22. Thank you for sharing your expertise on this subject. Your blog post has given me a whole new perspective and plenty of food for thought.


  23. Your blog post is a testament to the power of storytelling. You had me hooked from the very first sentence!


  24. Your blog post was like a crash course in [topic]. I feel like I learned more in five minutes than I have in months of studying.


  25. Your blog post was like a warm hug on a cold day. Thank you for spreading positivity and kindness through your words.


  26. Your passion for this subject really shines through in your writing. It’s inspiring to see someone so enthusiastic about what they do.


  27. Your passion for this topic is contagious! After reading your blog post, I can’t wait to learn more.


  28. I stumbled upon your blog post by accident, and I’m so glad I did! It’s rare to find such high-quality content online these days.


  29. Your blog post was exactly what I needed to read today. It’s amazing how much insight you’ve packed into just a few paragraphs.


  30. Your passion for this topic is contagious! After reading your blog post, I can’t wait to learn more.


  31. Your blog post was like a crash course in [topic]. I feel like I learned more in five minutes than I have in months of studying.


  32. Your blog post was like a crash course in [topic]. I feel like I learned more in five minutes than I have in months of studying.


  33. As someone who’s new to this topic, your blog post was incredibly informative. Thank you for breaking it down in such an easy-to-understand way.


  34. Your blog post was so relatable – it’s like you were reading my mind! Thank you for putting my thoughts into words.


  35. Your blog post was so thought-provoking. It’s rare to find content that challenges me to think deeply about important issues.


  36. Your blog post was the highlight of my day. Thank you for brightening my inbox with your thoughtful insights.


  37. Your blog post was so relatable – it’s like you were reading my mind! Thank you for putting my thoughts into words.


  38. Your blog post was like a breath of fresh air. Thank you for reminding me to slow down and appreciate the beauty of life.


  39. Wow, I’m blown away by the depth of research and analysis in your blog post. It’s clear that you’re passionate about this topic, and it really shines through in your writing.


  40. Your blog post was the perfect blend of informative and entertaining. I couldn’t tear my eyes away from the screen!


  41. Your blog post was exactly what I needed to hear today. Thank you for the gentle reminder to practice self-care.


  42. Wow! This can be one particular of the most helpful blogs We have ever arrive across on this subject. Actually Excellent. I am also a specialist in this topic therefore I can understand your hard work.


  43. Your blog post was like a breath of fresh air. Thank you for reminding me to slow down and appreciate the beauty of life.


  44. Your blog post was like a crash course in [topic]. I feel like I learned more in five minutes than I have in months of studying.


  45. Your blog post was like a crash course in [topic]. I feel like I learned more in five minutes than I have in months of studying.


  46. I’ve been struggling with this issue for a while now, and your blog post provided some much-needed clarity. Thank you for shedding light on the subject.


  47. This blog post is a goldmine of information! I’ve bookmarked it so I can refer back to it whenever I need a refresher on the topic.


  48. Your blog post was exactly what I needed to read right now. It’s amazing how you always seem to know just what to say.


  49. I’ve been following your blog for a while now, and your latest post certainly didn’t disappoint. Keep up the excellent work!


  50. Wow, I’m blown away by the depth of research and analysis in your blog post. It’s clear that you’re passionate about this topic, and it really shines through in your writing.


  51. Your blog post was the perfect blend of informative and entertaining. I couldn’t tear my eyes away from the screen!


  52. I’ve never commented on a blog post before, but I couldn’t resist after reading yours. It was just too good not to!


  53. Your blog post was a real eye-opener for me. Thank you for challenging my preconceived notions and expanding my worldview.


  54. Your blog post was the perfect blend of informative and entertaining. I couldn’t tear my eyes away from the screen!

Comentários encerrados.